Get the value and text of a select box with jQuery 

Joined:
02/21/2009
Posts:
131

January 26, 2012 14:26:23    Last update: January 26, 2012 14:26:23
To get the value:
$('#idOfTheSelectDropdown :selected').val();


To get the text:
$('#idOfTheSelectDropdown :selected').text()
Share |
| Comment  | Tags