[Javascript] Saving pages

Kelly jkcravy at cox-internet.com
Fri Aug 31 12:21:09 CDT 2001


Cutter this works fine.
But saving the pages is a manual job
using only js.

Kelly

function Add (a,b,c){
   var s= ProdArray.length;
   ProdArray[s] = a;
   DescArray[s] = b;
   CostArray[s] = c;
}

// .js file Add (product_ID,description,price)

   Add ('KNS4401', 'Red Bird',6.95);
   Add ('KNS4402', 'Red Apple',6.95);
   Add ('DHDL98-05', 'Digitizing Fur-Fins and Feathers', 29.95);
   Add ('DHDL01-05', 'Digitizing Realistic Birds', 29.95);

At 11:40 AM 8/31/2001, you wrote:

>On my site, I save all the product info to a database (Product Name, 
>Price, Description [code], etc.) then pull this info from the db by item 
>number to dynamically build the item page (one page, fifty products). I 
>use Cold Fusion for this, but many people like ASP.Could you use the same 
>concept with a .js file? Probably. How? Good question....Any suggestions?
>Cutter
><http://www.falcon-knives.com/>Falcon Knives
>
>
>----------
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>_______________________________________________ Javascript mailing list 
>Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010831/6282bb8a/attachment.htm>


More information about the Javascript mailing list