Jquery uncheck radio button - Javascript jQuery

Javascript examples for jQuery:Form Button

Description

Jquery uncheck radio button

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.js"></script> 
  <script type="text/javascript">
    $(window).load(function(){//www. j  a  v a 2  s  . c om
$('input[name=test]').click(function() {
    $('input[name=test]').prop("checked",false);
});
    });

      </script> 
 </head> 
 <body> 
  <input type="radio" name="test"> 1 
  <input type="radio" name="test"> 2  
 </body>
</html>

Related Tutorials