Example Form JavaScript



This is an example that shows how to use JavaScript to take any data from a standard HTML <FORM> and add it to the uShopTM virtual shopping cart. View the source of this page to see the standard HTML that creates the FORM and the JavaScript that read the data from it.


Create Your Own Christmas Cards
Select Style:
Select Layout: Portrait   Landscape
Select Color:
Select Picture:
Message (Front):
Message (Inside):
Other Options: Envelopes + $1.00   Decals + $1.00
Quantity
(25 per box):
 



Below is a shopping cart applet to try it out. Note that the codebase is set to "../classes/"... so you must have the uShop classes located in that directory.