Saving data as a text file from HTML

I want to store data from an html page into a text file using javascript on the client side. Is there any method?

+3
source share
3 answers

You cannot store it as a client-side file using javascript, most browsers do not allow you to do this.

+2
source

Here's how to do it (with user intervention)

Also try these APIs .

You cannot do this automatically without user intervention (Thank God!)

+3
source

JavaScript. Flash , JavaScript Flash (, Downloadify) .

+2
source

Source: https://habr.com/ru/post/1725952/


All Articles