corywatilo
asked on
Pass variable to form onSubmit with Thickbox
I am working on a form here:
user: local
pass: irvine
http://livemediamarketing.com/clients/local/bol/
and want to make the form on this page pass the email to a thickbox window on a new form. If you click ENTER, you will see the form pop-up. The email field there should be populated by whatever the user types on the initial page.
Thanks.
user: local
pass: irvine
http://livemediamarketing.com/clients/local/bol/
and want to make the form on this page pass the email to a thickbox window on a new form. If you click ENTER, you will see the form pop-up. The email field there should be populated by whatever the user types on the initial page.
Thanks.
ASKER
Did I insert it correctly? :-/
(Sorry, I'm just a CSS guy.)
(Sorry, I'm just a CSS guy.)
ASKER
I should also say that I found the same advice in another thread and added it in but it didn't work, which is why I posted this question. It doesn't seem to work for me, unless I'm not inserting it correctly.
Can you post the code?
ASKER
Here is some of it, but you can also view the whole thing by visiting the link at the top of this thread. Thanks.
<a href="inner.html?keepThis=true&TB_iframe=true&height=600&width=600" title="Ratings and Reviews - Powered by Local.com" onClick="document.forms[0].email.value = window.parent.document.forms[0].email.value" class="thickbox"><img src="g/enter.gif" style="margin:5px 0 0 180px;" /></a>
IS the form field name is same in both parent and child windows?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
document.forms[0].email.va