title: How to select a radio button through jQuery on load?
body: <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#1").find("Radio1").prop('checked', true);
  $("#2").find("Radio1").prop('checked', true);</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="1" cvalue='false'&gt;
    Are you a student  ?
    &lt;br&gt; &lt;input type="radio" name="RadioB1" id="Radio1" value="1"&gt;
    &lt;label for="Radio1"&gt;Yes&lt;/label&gt;&lt;br&gt;
    &lt;input type="radio" name="RadioB1" id="Radio2" value="2"&gt;
    &lt;label for="Radio2"&gt;No&lt;/label&gt;
  &lt;/div&gt;
  &lt;br/&gt;
  &lt;div id="2"  cvalue='false' &gt;
    Do you study in a university ?
    &lt;br&gt;
    &lt;input type="radio" name="RadioB1" id="Radio3" class="ui-state-default ui-corner-all" value="1"&gt;
    &lt;label for="Radio1"&gt;Yes&lt;/label&gt;&lt;br&gt;
    &lt;input type="radio" name="RadioB1" id="Radio4" class="ui-state-default ui-corner-all" value="2"&gt;
    &lt;label for="Radio2"&gt;No&lt;/label&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://jsfiddle.net/shahid12/chcnd9tg/" rel="nofollow">DEMO</a></p>