Jump to content

Select Element Acess


mjsulliv
 Share

Recommended Posts

Hello, I need to get access to the selected "value" of a select element (selectA). I can get an array of the option values using

selectA.getElementsByTagName("option");

But what I want to do is access the value that has been selected for selectA, when triggered by an "onChange" method of a second select (selectB). I then want to put it into the "value" of a third select element (selectC)Any help would be much appreciated.

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
 Share

×
×
  • Create New...