title: jquery: select input with given name and value
body: <p>I want to check the input that is named weekday and has value = 1. I tried the line below. It checks all weekdays.</p>
  
  <pre><code>$('input[name = weekday], [value =1]').attr("checked", "checked");
  </code></pre>