javascript - How To set the value of radio button to empty when it is deslected -
please me come out of this
i have part:
$(':input[type=radio]',taskclass).not(':button, :submit, :reset, :hidden').val('') .removeattr('checked');
try if radio button deselected, clear value
if( $(':input[type=radio]').is(':checked') == false ) { $(this).attr('checked',false).val(''); }
Comments
Post a Comment