guys i need to get the value of a input radio box so i wrote this code
if ($("input[@name='notify']:checked").val() == '1'){
var notifyme=1;
} else {
var notifyme=0;
}
but everytime i send the request through php function it says notifyme var is 1 and even i checked 0 radio box it still says the value is 1
html part
<input type="radio" name ='notify' value="1" >YES
<input type="radio" name ='notify' value="0" >NO