title: Select input button by name in div?
body: <h3>HTML:</h3>
  
  <pre><code>&lt;div id="div1"&gt;
    &lt;div class="row" &gt;
       &lt;div class="span2" &gt;
      &lt;input type=button  value="" name="btn1"/&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <h3>jQuery:</h3>
  
  <pre><code>$(document).ready(function() {
          $('#div1[name="btn1"]').val('test hello');
              });
  </code></pre>
  
  <p>Why doesn't this work?</p>
  
  <p>Where</p>
  
  <pre><code>  $(document).ready(function() {
              $('[name="btn1"]').val('test hello');
                  });
  </code></pre>
  
  <p>seems to work but i have a of other divs which i need to populate with values.</p>
  
  <p>Can I reuse an input element's name or must this be unique?</p>