Question : Copy what user types in a text filed in to a hidden field

In my page I have a text field <input type="text" name="txt" /> So what I want is, I want to add what user types in this filed in to a hidden field realtime, Would be gr8 if can be done using jquery

Answer : Copy what user types in a text filed in to a hidden field

no need for jQuery

<form>
<input type="hidden" name="htext" value="" />
<input type="text" name="txt" onKeyUp="this.form.htext.value=this.value" />
</form>
Random Solutions  
 
programming4us programming4us