|
|
Q1772 How can I store a file on the client side and read it from my page?
irt.org | Knowledge Base | JavaScript | Source | Q1772 [ previous next ] Q1772 How can I store a file on the client side and read it from my page?JavaScript can't read file on the client side ... except if the file is included as another JavaScript file. For example, you might want each of your clients to have a file containing particular data, like their login and password, and then read it from your page in JavaScript to log them automatically to your site. On each client side, create a file named for example "C:\data.js", containing : login = "my login"; passwd = "my password"; Then include this client JavaScript file into your page:
Submitted by Stephane Pepin The following was submitted by Davidj how to do it in vbscript -
|
-- div -->
|