Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML pulldown - how do default?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00429862
Message ID:
00429881
Views:
18
>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).
Previous
Reply
Map
View

Click here to load this message in the networking platform