Is it possible to save html form data permanently inside a file or some other place where we can use it later.I know this is possible through Php but i wan开发者_运维百科t to know that is this possible just by using JS and Html?
You might be interested in localStorage (here is a page that'll help you get started). However it won't be completely permanent. Persistent yes, permanent no. The user can clear localStorage at any time, and even modify it with relative ease. Be careful how you use it, but it sounds like what you're after.
Absolutely, you can not. HTML & JavaScript are just browser language while saving file is server task.
Try localStorage(depends on browser, about 5M) or cookie (about 4KB), but neither is persistent storage.
精彩评论