JavaScript Form

by "Blue Tapp" <blue(at)bluesarthouse.com>

 Date:  Sat, 17 Nov 2001 18:06:46 -0600
 To:  "HWG Techniques" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Hello:
I am setting up an order form for a client and I am using JavaScript to
figure the totals (you can see it here
http://www.businessheadquarters.com/fresheraire/ordertest1.html).  The user
types in how many of each item they want and then presses the subtotal
button.  The JavaScript multiplies the number of items by the price per ea.
for each item and then totals.  The formula I am using works as long as I do
not have more than 12 separate items in the list.  It is working now in my
tests but I have only included the first 12 items on the list.  Is this some
sort of JS rule?  I am teaching myself JavaScript as I go and I am sure
there are simpler ways to do this (I am open to all suggestions!).
TIA!
Blue


Blue Tapp
Blue's ArtHouse Graphics & Web Design
705 North Florissant Road
Ferguson, MO 63135
(314) 839-0634
fax: (314) 839-1557
www.bluesarthouse.com
blue(at)bluesarthouse.com

"Time to get a web site!"

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.