Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTML pulldown - how do default?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00429862
Message ID:
00429881
Vues:
17
>Is there a way with an HTML pulldown to show a default value, other than by listing the default value first in the list?

You can also set the selectedindex property of the select element to an integer value within script. ie:

document.select1.selectedIndex=1

this will select the second value in the list.
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.

"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform