filesystems - How to read and write into file using JavaScript -


can give sample code read , write file using javascript?

for completeness, op not state looking in browser (if is, has been stated, not possible)

however javascript per se allow this; can done server side javascript.

see documentation on javascript file class

edit: link sun docs have been moved oracle.

to keep times here's node.js documentation filesystem class: http://nodejs.org/docs/latest/api/fs.html

edit(2): can read files client side html5: http://www.html5rocks.com/en/tutorials/file/dndfiles/


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -