Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Saving pages


  • From: javascript@xxxxxxxxxx (TomMallard)
  • Subject: [Javascript] Saving pages
  • Date: Fri, 31 Aug 2001 08:39:26 -0700

Saving is server-side, on win98 you'll have Personal Web Server, create a
website on your local machine and you can write a JScript page which saves
the files directly. Your server side page would use a language statement

<%@language="JScript" %>
<%
var objFSO = new ActiveXObject("Scripting.FileSystemObject");
...open a new file with create option using path to where you want it
...write the text
...close the file and add objFSO = null

%>

HTH,
tom mallard
seattle
----- Original Message -----
From: "Kelly" <jkcravy@xxxxxxxxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Sent: Friday, August 31, 2001 7:08 AM
Subject: [Javascript] Saving pages


> I am using JavaScript to generate product pages
> from data in a .js file for a small sewing shop store
> with image links, text and order buttons.
>
> Then I copy and paste the code into note pad and
> save them with .htm extensions.
>
> They are simple HTML pages and work just fine.
>
> Is there a better and faster way to save the pages ?
> I am using 98 & IE5.5
>
> Thanks, Kelly
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> http://www.LaTech.edu/mailman/listinfo/javascript
>