Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: SV: Re: Creating dynamically a text file using JavaScript


Message #1 by "Robert Nyman" <robert.nyman@c...> on Fri, 25 Oct 2002 11:00:08 +0200
Thanks Robert,

I've looked at the microsoft site for the MS Jscript. Everything is
working fine now.

Regards.

Ramez

-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: Friday, October 25, 2002 2:00 AM
To: JavaScript HowTo
Subject: [javascript_howto] SV: Re: Creating dynamically a text file
using JavaScript


Use the FileSystemObject:

http://www.webreference.com/js/column71/


/Robert

-----Ursprungligt meddelande-----
Fr=E5n: Gautam Khanna [mailto:gautamkhanna27@y...]
Skickat: den 25 oktober 2002 07:43
Till: JavaScript HowTo
=C4mne: [javascript_howto] Re: Creating dynamically a text file using
JavaScript



Thru Javascripts Creating a Text File is not possible....
its limitations r restrictng to display the data dynamically / static in
the " js " file already defined or u can use any Server Side Scriptiing
language to create the Text File { JS as per ur def..} & include it
dynamically ... but thru Javscripts i believe its difficult..

Regards
Gautam Khanna
gautamkhanna27@y...
 Ramez <rchehab@s...> wrote:Hello

Let's say I have this HTML file saved as "someTestFile.html" in a IIS
server directory.




Name :  [input]

 [input]



Now, I have a text file named "someTest.js" also saved on the IIS server

in the same directory where the "someTestFile.html" file resides. On the

someTest.js file, I want to create or 'save' the text control entered on

the Text Control of the HTML file.

Can any body please give me a small example on how to do that using
server
side JavaScript? - I know how to read an already created ".js" file
content, but I have no clue on how to create dynamically contents on it.
I
beleive, I have to use the Server.CreateObject command,.but I haven't
got
references telling me where I can get all the commands for IIS asp
commands, despite I'm trying until now.

I will appreciate greatly a small head start coding.

Regards

Ramez

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


  Return to Index