Basic JavaScript Question:

Download Job Interview Questions and Answers PDF

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

Download JavaScript Interview Questions And Answers PDF

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