Sirence
0
Q:

php code to submit a radio button value using onclick function

Foo: 
<input type='radio' name='foo' value='bar'> Bar <br>
<input type='radio' name='foo' value='fru'> Fru 
0
$('input[type=radio]').click(function(e) {
		
        var gender = $(this).val(); 
        $('.result').html(gender);
		
    });
0

New to Communities?

Join the community