title: set value to hidden input
body: <p>I know this question has been asked a lot.  I've searched everywhere.  I'm trying to set the value of a hidden input so I can submit it.  My jquery is linked.</p>
  
  <p>here is my form:</p>
  
  <pre><code>&lt;form id="selectedMovie" action="index.php" method="get"&gt;
      &lt;fieldset&gt;
          &lt;input type="text" id="tester" name="tester" value="fifty" style="display:none;"/&gt;
      &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>and my javascript:</p>
  
  <pre><code>function selectVideo( title ){
      alert("" + 21);//works fine
      alert( $('input[name=tester]').val() );//tried
      alert( $('input#tester' ).val() );//tried
      //and a few other things.
  }
  </code></pre>
  
  <p>any ideas?</p>