title: How to change a radio button value
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/5665915/how-to-check-a-radio-button-with-jquery">how to check a radio button with jQuery?</a></p>
  </blockquote>
  
  <p>How to change a radio button value.</p>
  <pre><code>jQuery('input:radio[name=search][id=search-damages]').checked = true;
  </code></pre>
  <p>i have tried this but it is not working</p>
  <pre><code>&lt;input type=&quot;radio&quot; name=&quot;search&quot; id=&quot;search-vehicle&quot; value=&quot;search-vehicle&quot; checked&gt;
  &lt;input type=&quot;radio&quot; name=&quot;search&quot; id=&quot;search-damages&quot; value=&quot;search-damages&quot;&gt;
  </code></pre>