Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>
 
  <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> 
    <script>
      $(document).ready(function()
                        {
       var $unique = $('input.unique');
$unique.click(function() {
    $unique.filter(':checked').not(this).removeAttr('checked');
});
     
  </script>
</head>
<body>
<input class="css-checkbox"  type="checkbox" value = "For Member Only" name="cb_0" checked> 
  
<input class="css-checkbox" type="checkbox"  value = "For Spouse" name="cb_1">
  
<input class="css-checkbox"  type="checkbox" value = "For Family" name="cb_2" >
  
<input class="css-checkbox"  type="checkbox" value = "For Family" name="cb_2" >
  </body>
</html>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers