title: jQuery set radio button on page
body: <p>I have a radio button that I am trying to set with jQuery.</p>
  
  <p>I know how to do this however I cant seem to get this one to work right.</p>
  
  <p>My page has two sets of the same radio buttons on the page. The names are the same on both sets but the classes are different. (I know this is not how it should be done but I am just quickly testing something).</p>
  
  <p>For the first set of input fields, this works just fine. It finds the input with the name of case and the value of 0 and checks it.</p>
  
  <pre><code>$(document).find('input[name="Case"][value="0"]').prop('checked', true);
  </code></pre>
  
  <p>I now am trying to set the same radio button in another set and cant seem to get it.</p>
  
  <p>I am trying to say, find me the input field that has the class of <code>.esc</code> as well as the name <code>Case</code> with the value of <code>0</code> and set it for me.</p>
  
  <p>Is there a way to look for an input with both a class and name in the selector?</p>
  
  <pre><code>$(document).find('.esc input[name="Case"][value="0"]').prop('checked', true);
  </code></pre>