Is it possible to generate html files from javascript? -


i have question html , javascript. i'm trying find out if can generate html files javascript.

i want implement dynamic form in user makes choices entering question , answer. @ end, have html file in have form user's choices.

with javascript, know can create dynamic form possible write file?

if don't care older browsers can take @ article http://www.html5rocks.com/en/tutorials/file/filesystem/

you can try , store content need in session or cookie or local storage more wide browser support.

as mentioned in article:

at time of writing article, google chrome has working implementation of filesystem api.

you can add server side api listen javascript , create files (if want files stored on server). can check implementations http://extplorer.sourceforge.net/

hope helps.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -