jQuery - Changing value of input
<p>I have this field in <strong>one form</strong>:</p>

<pre><code>&lt;input type="text" name="promocode" id="promoCode" value="" style="width:24%" maxlength="5"&gt; 
</code></pre>

<p>and this field in another form:</p>

<pre><code>&lt;input type="hidden" name="custom" class="promo" value="" /&gt;
</code></pre>

<p>How can I do, so whenever the value of <code>#promoCode</code> is changed, it will also change the value of <code>.promo</code></p>

<p>Currenlty, I have this:</p>

<pre><code>var promo = $("#promoCode").val();
$("#promoCode").change(function(){
    $('.promo').val(promo);    
});
</code></pre>

<p>But that doesn't work.</p>
