Jump to content

setting asp dropdownlist value by jscript


Recommended Posts

what code do you have? (normal scripting code is a pretty vague description). If you want to set an option in a drop down as already selected, then you need to set that particular options selected property to 'selected' when you generate the HTML output.http://www.w3schools.com/jsref/dom_obj_option.asp

Edited by thescientist
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...