Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Validation on a drop down list
Message
 
À
24/08/2000 08:47:17
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, États-Unis
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00408567
Message ID:
00408732
Vues:
21
>I changed your function to the following if statement.
>
>if (document.form1.stateprov.options[document.form1.stateprov.selectedIndex].value =" ")
>
>{
>//make user choose an entry
>}
>
>However the value keeps coming up to be blank. Which is the first entry in the list. The list gets dynamically created with asp.

It appears that should work... you may want to go to www.devhead.com - there are resources there for snippets of Java code (that's where I do most of my Java shopping <g>).

HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform