How to get the value of option select box in jQuery if I have the code like this,
media1
use this code:
$('#media').change(function(){ alert($('#media :selected').val());// or $('#media').val(); });