title: Identify Hidden Form Value Without an ID or Class
body: <p>I am writing a Greasemonkey script and I need to be able to take the value from a hidden form element and set it to a variable.</p>
  
  <p>The hidden form value looks like this:</p>
  
  <pre><code> &lt;input type="hidden" name="ASIN" value="B009MO89Y4" /&gt;
  </code></pre>
  
  <p>I have no ID, class, or any way I can see to set the "value" to a variable. This needs to work dynamically and I currently have no way to establish a class or ID to this value.</p>
  
  <p>Is there a Javascript (or jQuery) method to set this?</p>
  
  <p>In other words:</p>
  
  <p>Find "input" with name "ASIN" and set .val() to a variable?</p>