Small prob i’m using the following line of code
customerName = window.opener.form2.custName.value;
The problem is that I’m no longer opening the page in a new window, I’m opening it in the same window and thus replacing the older page.
Is there anyway for me to get the same information?
Thanks
Pass it as a paratemer in the query string to the new page.
If you would open the new page as, say:
<a href="newPage.html">..., pass the details as<a href="newPage.html?custName="+document.form2.custName.value>As an alternative you can use cookies to store the data from page 1 before you navigate away and retrieve it in page 2.