Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data from a layer

Status
Not open for further replies.

BigPerm

Programmer
Jul 24, 2002
7
US
I have a form field within a layer and I want to pass that information to a hidden field on the form on the main page. How do I get informationh back from a layer? Somebody help me out please!
 
Do this:


<layer>
<form name=&quot;form1&quot;>
<input type=&quot;text&quot; name=&quot;some_text&quot; value=&quot;I'm the text!&quot;>
</form>
</layer>

<a href=&quot;javascript:form2.hidden_text.value=form1.some_text.value;&quot;>Click ME!</a>

<form>
<input type=&quot;hidden&quot; name=&quot;hidden_text&quot;>
</form>

Rick It's a pleasure to know that I've helped you. If I have,
please click the link below to let me know. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top