Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Validation on a drop down list
Message
De
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:
00408682
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform