Click to See Complete Forum and Search --> : Passing parameter from page 1 to page 2's title


jbetts1967
02-26-2003, 03:52 AM
Can any one tell me how you can pass a variable from one page to anothers pages title.

ex:

lets say that there is something that is on page one that you need to pass to page 2. ok easy enough. however i need for the parameter that is passed to page 2 to be displayed in the title bar.

instance: you click on a "next" or "previous" button and you need some information passed from the calling page to the recieving page but instead you want to display that information in the title bar.

ps.
not in <form> but in regular javascript.

thanks,
JB....

khalidali63
02-26-2003, 04:00 AM
you should be able to do that with this( presuming you already have the required variable)

document.title = "your value here";

Cheers

Khalid