title: Setting "checked" using a non specific id in jquery
body: <p>I am trying to checked a checkbox using the id. I know we can specifically set the id like this</p>
  
  <pre><code>$('#myDiv input[id="001"]').prop('checked', true);
  </code></pre>
  
  <p>However, I am looping through my id from database and thus cannot specifically set an id to it. Is there anyway on doing this?</p>