title: Setting radio button to selected in html5 jquery
body: <p>I have searched Google and stack overflow to no avail on this question. I am trying to add the selected property to a radio button. This should not be a very hard task, but in fact it is proving to be extremely difficult. What I have tried that does not work:</p>
  
  <pre><code>$('#radio_1').attr("checked", true);
  $('#radio_1').attr("checked", "checked");
  $('#radio_1').prop("checked", true);
  $('#radio_1').prop("checked", "checked");
  </code></pre>
  
  <p>I have no idea what else to try, as these are the typical solutions.</p>
  
  <p>The radio button code is as follows:</p>
  
  <pre><code>&lt;label class="radio inline"&gt;&lt;input type="radio" id="radio_1" name="type" value="first"&gt;First Name&lt;/label&gt;
  </code></pre>