Retrieving Select value using JQuery
-
I have a form with some dropdowns (select elements). I need to do some client-side validation on the selected values using JQuery. However, I noted that the value and text attributes of the select are not changing when the user makes a choice. jQuery(#idOfElement).val() and text() return undefined. I also tried to identify the selected option element to no avail.
Is there a way to retrieve the dropdown value?
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Retrieving Select value using JQuery’ is closed to new replies.