How to get the value of option select box in jQuery if I have the code like this,
media1
$("#id option:selected").val();
Here id is the id of a select box. I'm sure it will work 100%.
id
If you want selected text use this one:
$("#id option:selected").text();