title: checked radiobutton on checkbox change event
body: <p>how we checked or unchecked all radiobutton on checkbox click.. if checkbox checked then all radiobutton also checked and vice versa.. it is not working properly</p>
  
  <pre><code>&lt;input type="checkbox" id="Check" /&gt;SelectAll&lt;br /&gt;&lt;input type="radio"/&gt;First&lt;br /&gt;
  
  
      &lt;input type="radio"/&gt;Second&lt;br /&gt;
              &lt;input type="radio"/&gt;Third&lt;br /&gt;
              &lt;input type="radio"/&gt;Fourth&lt;br /&gt;
              &lt;input type="radio"/&gt;Fifth&lt;/div&gt;
              &lt;script&gt;
                  var IsCheck = false;
                  $(document).ready(function () {
                      $("#Check").change(function () {
                          if (IsCheck == false) {
                              $("input[type=radio]").attr("checked", true);
                              IsCheck == true
                          }
                          else { $("input[type=radio]").attr("checked", false); IsCheck == false }
                      });
                  }); &lt;/script&gt;
  </code></pre>