The problem statement is simple. I need to see if user has selected a radio button from a radio group. Every radio button in the group share same id.
The problem is
HTML Code Javascript Code $("input[type='radio'].check").click(function() { if($(this).is(':checked')) { if ($(this).val() == 1) { $("#submit").val("Verified & Save"); }else{ $("#submit").val("Save"); } } });