Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Saving pages
- From: javascript@xxxxxxxxxx (Kelly)
- Subject: [Javascript] Saving pages
- Date: Fri, 31 Aug 2001 12:21:09 -0500
--=====================_24950489==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
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@xxxxxxxxxx http://www.LaTech.edu/mailman/listinfo/javascript
--=====================_24950489==_.ALT
Content-Type: text/html; charset="us-ascii"
<html>
Cutter this works fine.<br>
But saving the pages is a manual job<br>
using only js.<br><br>
Kelly<br><br>
function Add (a,b,c){<br>
var s= ProdArray.length;<br>
ProdArray[s] = a;<br>
DescArray[s] = b;<br>
CostArray[s] = c;<br>
}<br><br>
// .js file Add (product_ID,description,price)<br><br>
Add ('KNS4401', 'Red Bird',6.95);<br>
Add ('KNS4402', 'Red Apple',6.95);<br>
Add ('DHDL98-05', 'Digitizing Fur-Fins and Feathers',
29.95);<br>
Add ('DHDL01-05', 'Digitizing Realistic Birds', 29.95);<br><br>
At 11:40 AM 8/31/2001, you wrote:<br><br>
<blockquote type=cite class=cite cite>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?<br>
Cutter<br>
<a href="http://www.falcon-knives.com/">Falcon Knives</a><br><br>
<hr>
Get your FREE download of MSN Explorer at
<a href="'http://go.msn.com/bql/hmtag_itl_en.asp'">http://explorer.msn.com</a><br>
_______________________________________________ Javascript mailing list
Javascript@xxxxxxxxxx
<a href="http://www.latech.edu/mailman/listinfo/javascript" eudora="autourl">http://www.LaTech.edu/mailman/listinfo/javascript</a>
</blockquote></html>
--=====================_24950489==_.ALT--
- References:
- [Javascript] Saving pages
- From: Cutter Bl
- [Javascript] Saving pages
- Prev by Date: [Javascript] Saving pages
- Next by Date: [Javascript] Saving pages (a different solution)
- Previous by thread: [Javascript] Saving pages
- Next by thread: [Javascript] Saving pages (a different solution)
- Index(es):