"Katya" <lo******@gmail.com> wrote:
Why the following code doesn't work? What am I doing wrong?
<input type="hidden" name="test"
value="javascript:document.form.fld_1.value">
I want to pass this value to a hidden field in order to get it later
using Request.Form("test").
You can't use Javascript like that.
You're trying to copy the value of one form element to another? Attach
an onUpdate event handler to the first field. The function called by
that handler should do the copy. That way, every time the first
element changes, the new value show up in the second element.
--
Tim Slattery
Sl********@bls.gov