title: Concatenating String in JQuery Selector
body: <p>I'm trying to concatenate a variable into a JQuery selector (which I understand to  be fairly straightforward), but I'm running into some interesting behavior. My code is supposed to uncheck certain radio selectors along a y-axis.</p>
  
  <pre><code>for(var i = 1; i &lt; 5; i++) {
      $("input[value='"+1+"']").each(function() {                     //&lt;--
          $(this).on('change', function() {
              var that = this;
              $("input[value='"+1+"']").each(function() {             //&lt;--
                  if($(this).attr('name') != $(that).attr('name')) {
                      $(this).prop('checked', false);
                  }
              });
          });
      });
  }
  </code></pre>
  
  <p>Now, the code works as it is (selecting only inputs of value '1', that is) and works with the '1' included in the quotes as well. However, once I pass in either <code>i</code> or <code>i.toString()</code>, the code doesn't work. Ideally, I'd like to be able to pass in <code>i</code> to activate all my <code>inputs</code>. Is that going to be possible? I'm using JQuery from <code>http://code.jquery.com/jquery-1.10.2.min.js</code>.</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;form method="POST" action="votes.php"&gt;
      &lt;div style="border:black solid 1px;border-radius:5px;"&gt;
          &lt;label&gt;One&lt;/label&gt;
          &lt;input type="radio" name="one" value="1"&gt;
          &lt;input type="radio" name="one" value="2"&gt;
          &lt;input type="radio" name="one" value="3"&gt;
          &lt;input type="radio" name="one" value="4"&gt;
      &lt;/div&gt;
      &lt;div style="border:black solid 1px;border-radius:5px;"&gt;
          &lt;label&gt;Two&lt;/label&gt;
          &lt;input type="radio" name="two" value="1"&gt;
          &lt;input type="radio" name="two" value="2"&gt;
          &lt;input type="radio" name="two" value="3"&gt;
          &lt;input type="radio" name="two" value="4"&gt;
      &lt;/div&gt;
      &lt;div style="border:black solid 1px;border-radius:5px;"&gt;
          &lt;label&gt;Three&lt;/label&gt;
          &lt;input type="radio" name="three" value="1"&gt;
          &lt;input type="radio" name="three" value="2"&gt;
          &lt;input type="radio" name="three" value="3"&gt;
          &lt;input type="radio" name="three" value="4"&gt;
      &lt;/div&gt;
      &lt;div style="border:black solid 1px;border-radius:5px;"&gt;
          &lt;label&gt;Four&lt;/label&gt;
          &lt;input type="radio" name="four" value="1"&gt;
          &lt;input type="radio" name="four" value="2"&gt;
          &lt;input type="radio" name="four" value="3"&gt;
          &lt;input type="radio" name="four" value="4"&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>