uncheck radio button on second click jquery
<div class="col-md-3"> <div class="form-group" > <label for=" " class="ProLabel1">Stage</label> <div class="ProInput1"> <input type="radio" onclick="preshow()" name="prepost" value="pre" >Pre Chargesheet <input type="radio" onclick="postshow()" name="prepost" value="post">Post Chargesheet </div> </div> </div> <script> $(function(){ $('input[name="prepost"]').click(function(){ var $radio = $(this); // if this was previously checked if ($radio.data('waschecked') == true) { $radio.prop('checked', false); $radio.data('waschecked', false); } ...