开发者_如何学GoI want store data from an html page to a text file using javascript on Client Side. Any method is there?
Here's how to do it (with user intervention)
Also try these APIs.
You cannot do that automatically without user intervention (Thank God!)
You cannot store as file in Client Side with javascript, most of the browsers not allowed you to do that.
You can't work with the filesystem with JavaScript. Flash can work with the filesystem, so a combination of JavaScript and Flash (such as Downloadify) will work.
精彩评论