jQuery
/*Check Radio button is checked or not*/
<script type="text/javascript">
if(jQuery('#id1').is(':checked')==true)
{
/*Something Code*/
}
else
{
/*Something Code*/
}
</script>
<script type="text/javascript">
if(jQuery('#id1').is(':checked')==true)
{
/*Something Code*/
}
else
{
/*Something Code*/
}
</script>
No comments:
Post a Comment