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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grabbing html title

Status
Not open for further replies.

kamloops

Programmer
May 7, 2003
34
0
0
CA
Hi There,

If I have a link on a page that opens a new document can I pass the title of the first page to appear on the second document for the user to see?

If so, how would I do that?

Thanks any help would be great.
 
well, if in the parent page (the one opening the new window) you used the
window.open() command it is very possible

in the new page, you say:
window.opener.document.title=document.title;

Later,
Greelmo
 
Actually what I do is on the parent page I have a form that emails data to my email and then redirects to another page. On the page that is redirected in where I need to display the title of teh previous page.... can I do this?

Thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top