Basic JavaScript Question:

How to read and write a file using JavaScript?

Tweet Share WhatsApp

Answer:

I/O operations like reading or writing a file is not possible with client-side JavaScript. However , this can be done by coding a Java applet that reads files for the script

Download JavaScript PDF Read All 114 JavaScript Questions
Previous QuestionNext Question
How do you submit a form using JavaScript?How to detect the operating system on the client machine?