How can I close the first page?
-
In my FirstPage (HTML or ASP) I use the following code to jump to next page
window.open('NextPage.asp', 'PageName', 'toolbar=yes,location=no,directories=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes')
However after jumping to next page, my FirstPage stays there and if someone using it ... it does not work properly! Does anyone knows how to close it without affecting the jump? If I use command window.close at the end ... every thing close! Thanks -
In my FirstPage (HTML or ASP) I use the following code to jump to next page
window.open('NextPage.asp', 'PageName', 'toolbar=yes,location=no,directories=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes')
However after jumping to next page, my FirstPage stays there and if someone using it ... it does not work properly! Does anyone knows how to close it without affecting the jump? If I use command window.close at the end ... every thing close! ThanksYou don't need to open up a new web page. Just use document.location = "NextPage.asp";