FrankieNASCAR
Programmer
Hi All,
I have been wrestling with this issue long enough to make me post a question. First, here's my code:
In the top part of the function(bold line), is there another "window.XXXXX" property I can use to navigate to another asp page within my current browser window, as well as pass a value (like a querystring?) so I'll know what page I came from? The current code opens a new browser window, which I do not want. Thanks in advance for your time and help on this.
Frank
I have been wrestling with this issue long enough to make me post a question. First, here's my code:
Code:
function chkreg(lesson){
// asking user if they want to register
if(confirm("You are invited to signup for the free newsletter" +
"\n " +
"\nClick 'OK' to register or click 'CANCEL' to return to lesson plan")){
[b]window.open("/Reg/News/Signup/NewsSignup.asp");[/b]
}else{
if(lesson == "E"){
window.open("page1.pdf");
}
else if(lesson == "M"){
window.open("page2.pdf");
}
else if(lesson == "G"){
window.open("page3.pdf");
}
}
}
document.close();
In the top part of the function(bold line), is there another "window.XXXXX" property I can use to navigate to another asp page within my current browser window, as well as pass a value (like a querystring?) so I'll know what page I came from? The current code opens a new browser window, which I do not want. Thanks in advance for your time and help on this.
Frank