title: jQuery find form element by attributes name and value?
body: <p>I am trying to check a radio button but all I have as a ref to the element is the name attribute and the elements value.</p>
  
  <p>I need some way to check the correct radio where name="accounts\['+i+'\]\[account_status\]\[selected\]" and value="current" in "#form1".</p>
  
  <p>I have the code below but it checks the last radio button. </p>
  
  <pre><code>$('#form1 input[name="accounts\\['+i+'\\]\\[account_status\\]\\[selected\\]"]').attr('checked', true);
  </code></pre>
  
  <p>Thanks</p>