Reply
Please Help
Old 07-25-2006, 04:44 PM Please Help
Junior Talker

Posts: 2
Name: Helen
Location: San Diego
Can someone please help me get this working. I have it at least going to the shopping cart but it says basket is empty http://www.watersportsproducts.com/store2/test.htm
mokitty is offline
Reply With Quote
View Public Profile Visit mokitty's homepage!
 
When You Register, These Ads Go Away!
Old 07-25-2006, 06:52 PM Re: Please Help
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
You need to check each form element individually as opposed to checking them as a collective as you're trying to do.

In other words:
Code:
var select1 = frm.elements["Select_1"].selectedIndex;  // notice how I did an underscore instead of a space.  It's good practice. 
if (select1 < 1) { 
    // Do jah thing.
    return false;
}
Repeate for steps 2 and 3.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Please Help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10969 seconds with 12 queries