javascript - ajax asynchronously obtains file stream and automatically downloads it
滿天的星座
滿天的星座 2017-07-05 10:59:32
0
3
770

Excuse me, after I use ajax to asynchronously obtain the file stream, what if I let the browser automatically download the file I obtained?
The detailed explanation is that I want to use ajax to implement the file download function. After I use ajax to request, the background returns me a file stream. How can I let the browser automatically download these file streams into the files I want.

滿天的星座
滿天的星座

reply all (3)
我想大声告诉你

https://scarletsky.github.io/...

    伊谢尔伦

    I read your question several times but I still don’t understand it... It would be great if you could explain it in more detail

      phpcn_u1582

      http://www.cnblogs.com/cdemo/...

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!