$('input:radio[name="pathType"]').click(function(){ var checkValue = $('input:radio[name="pathType"]:checked').val(); alert(checkValue); });