javascript read select option value

 

 

 

 

As a guest, you can read any forum posting.In my javascript i want to be able to request the name of the selected item (eg Ford) not the value.Last Post. need help putting xsl:value-of in select option. What I need, is that when an option is selected in this same select menu, depending on which option is selected, an email becomes the value in a different hidden id in the form. I have an if conditional in my jsfiddle but it is not working. This is in continuation of the previous article: How to set the value of a form field using JavaScript. Selecting options of a select element through javascript. In Javascript, since each < option> tag inside a