(for Pyro's benefit ... ha, ha)
OK, here's the situation ...
So my question is: How can I create a generic pop-up window that automatically and dynamically pulls in the necessary information from the parent HTML window -- that is, the information inside the <title> tags as well as the document name (example.html) -- which I can then drop into the form tags in this pop-up window? In other words, I want to pass parent window variables into the pop-up window HTML code like this ...
<input type=HIDDEN name="pagetosend" value="/root/path/to/parent_example.html">
<input type=HIDDEN name="pagename" value="Example Parent Page Title">
<input type=HIDDEN name="pageurl" value="http://www.123.com/parent_example.html">
Note: Users need to be able to fill out certain other form fields (recipient's name, e-mail address, etc.) themselves from this pop-up window, too.
What's the best way (or ANY way) to accomplish this? Help!