title: JQuery selector problem in Internet Explorer
body: <p>I have a jquery selector that looks like:</p>
  
  <pre><code>var val = "John's cars";
  $('#subject input[value="'+val+'"]')
  </code></pre>
  
  <p>This works just fine in Firefox, Chrome, Internet Explorer 8, but not in IE 6 or IE7.
  The problem is the ' in the text search for. 
  Someone has any idea how to work around this problem except to loop through all inputs in question and do a string compare?</p>