Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dougrun

  1. dougrun

    select List validation

    i fixed it!! the correct line is: if ((document.basketform.ccexp.selectedIndex == 0) && (document.basketform.year.selectedIndex == 0)) { rc=alert('Your Card has Expired!'); return false;
  2. dougrun

    select List validation

    Thanks for the help guys. I did catch the double (()) right after I posted and it still didn't work. In fact, if I leave it in my page, it screws up my other javascript shopping cart. The page is checkout page of www.venueports.com . Is it ok to have the '01' like it is or do I have to refer...
  3. dougrun

    select List validation

    I have 2 list boxes (month, year) for a credit card expiration date. I want a simple if..then statement to check if the card is expired. Here is what I have now: if (document.basketform.ccexp.options[document.basketform.ccexp.selectedIndex].value == '01') &&...

Part and Inventory Search

Back
Top