How to get the value of option select box in jQuery if I have the code like this,
media1
try this,
jQuery(document).ready(function() { jQuery('#media').change(function(e) { var id = $(this,':selected').val(); alert(id); }); });