Home
jQuery(function () { jQuery("#payment_id_1").change(function () { var selectedText = jQuery(this).find("option:selected").text(); var selectedValue = jQuery(this).val(); alert("Selected Text: " + selectedText + " Value: " + selectedValue); }); jQuery("#payment_id_3").change(function () { var selectedText = jQuery(this).find("option:selected").text(); var selectedValue = jQuery(this).val(); alert("Selected Text: " + selectedText + " Value: " + selectedValue); }); });