|
-
November 14th, 2007, 03:45 AM
#1
[JS] Write to text file
Is it possible for me to write my javascript variables to a text file?
document.write() cannot be written to text file.
-
November 14th, 2007, 04:08 AM
#2
Re: [JS] Write to text file
I think it can not be done because java script run on client side. And this will have some security issues.
Muhammad Waqas Badar
-
November 14th, 2007, 05:23 AM
#3
Re: [JS] Write to text file
JavaScript is contained to the web page it is currently on due to security reasons. Even access to the clipboard is limited in JavaScript. You can save your variables in cookies however, if what you intend to do is to have your script remember user settings (much like the collapsible forums script in the CodeGuru forums list does.)
Also, you put this in the wrong forum. JavaScript is a client-side language and threads about it should be put in the Client-side scripting forum.
-
November 14th, 2007, 07:51 AM
#4
Re: [JS] Write to text file
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
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
|