Monday, 21 January 2019

Jquery Radio button operations

Jquery Radio button operations

Check selected radio button


HTML


<input type="radio" value="Active" checked name="rdostatus" />Active

<input type="radio" value="InActive"  name="rdostatus" />In-Active


Jquery 


alert($("input[name='rdostatus']:checked").val());


No comments:

Post a comment