[thelist] Form help needed

BT Bigpant bigpant at btinternet.com
Fri Feb 8 15:59:00 CST 2002


you could do this:

1. set up a javascript array to hold the products and prices
2. include an onChange event on the form element (or onClick, depending on
the type of input)
3. onChange calls a js function that gets the selectedIndex & replaces the
value of the new form element with the array[index] value

HTH
Phil Parker




More information about the thelist mailing list