jQuery FancyBox with Ajax

后端 未结 2 1705
梦毁少年i
梦毁少年i 2020-12-04 03:55

I have look at many web sites and many pages on Stackoverflow, but none of them has solved my problem yet. Simply, I have a hyperlink and I want to retrieve an

2条回答
  •  心在旅途
    2020-12-04 04:21

    This should work. Looks like image is stored as JSON. If so, I think you should convert it back to Base64 before sending it to the browser. See http://mobile.cs.fsu.edu/converting-images-to-json-objects/

    function downloadFile(id) {
        $('#fancybox-inner').html('');
    }
    

提交回复
热议问题