|
-
How to open and save text files using Javascript ?
Hi
First of all, let me tell you that this is not a homework question, since i am no longer in college, i don't get homework.
Ok now to the question => Can you please give me a little example java script to open and save text files
Thank you in advance
-
 Originally Posted by greenerworld007
Hi
First of all, let me tell you that this is not a homework question, since i am no longer in college, i don't get homework.
Ok now to the question => Can you please give me a little example java script to open and save text files
Thank you in advance
___________________
Recycling Waste Equipment
Waste Paper Recycling uk
Plastic Recycling
-
You can't with Javascript. Well, technically you may be able to if the person is running IE, and if they're running your webpage from their hard drive rather than the internet. As you can imagine, allowing webpages to read files on your hard drive and write to them could be a security issue, which is why it's not possible in most browsers.
What you can write to is a cookie, which can store a little bit of information. Or, with a server side language you could read and write to a file on your server.
What exactly are you trying to accomplish?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|