Basic JavaScript Question:

How to read and write a file using JavaScript?

JavaScript Interview Question
JavaScript Interview Question

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


Previous QuestionNext Question
How do you submit a form using JavaScript?How to detect the operating system on the client machine?