jQuery - How to write text values to a hidden field for later use?
<p>I am using the latest and greatest jQuery.</p>

<p>I have a form with three text fields and three hidden fields. When you type in a text field, the value will be passed into the respective hidden field, which will later be accessed by other means.</p>

<pre><code>FirstName value should be passed to FirstNameTemp
LastName value should be passed to LastNameTemp
Pseudonym value should be passed to PseudonymTemp
</code></pre>

<p>The following code is not working for me, though I swear it was working yesterday.  I am using FireFox and Firebug. I can watch the value of FirstNameTemp change, which seems to work fine in the code, but nothing else works property.  </p>

<p>Is there anything wrong with this? Am I missing something obvious?</p>

<pre><code>&lt;input type='hidden' value="" id="FirstNameTemp"&gt;
&lt;input type='hidden' value="" id="LastNameTemp"&gt;
&lt;input type='hidden' value="" id="PseudonymTemp"&gt;

&lt;input type='text' value="" class="Search" id="FirstName"&gt;&lt;br&gt;
&lt;input type='text' value="" class="Search" id="LastName"&gt;&lt;br&gt;
&lt;input type='text' value="" class="Search" id="Pseudonym"&gt;&lt;br&gt;


&lt;script type="text/javascript"&gt;
$(document).ready(function() {

$(".Search").keyup(function() {
    var FirstName = $("#FirstName").val();
    var LastName = $("#LastName").val();
    var Pseudonym = $("#Pseudonym").val();
    // COPY ENTITIES TO TEMP ENTITIES
    $("#FirstNameTemp").val(FirstName);
    $("#LastNameTemp").val(LastName);
    $("#PseudonymTemp").val(Pseudonym);
});

});
</code></pre>

<p></p>

<p>EDIT</p>

<p>I opened and closed my browser and rebooted my machine. Nothing worked. So, I downloaded FireBox and FireBug and reinstalled. It worked just fine.</p>

<p>Thanks to all of you for the help and good ideas. You guys ROCK!!!</p>
