title: jquery - access form input field by Name
body: <p>Is it possible to access an form input field using just the element name?</p>
  
  <p>If I were attempting this with the ID, it would look like this:</p>
  
  <pre><code>&lt;input type="text" id="fname"&gt;
  
  $("#fname").blur(function(){
      var x = document.getElementById("fname");
      x.value = x.value.toUpperCase();
  });
  </code></pre>
  
  <p>Is there any way to get access the element using the name is the field were??:</p>
  
  <pre><code>&lt;input type="text" name="fname"&gt;
  </code></pre>