hi,
I have a problem with history.go() function. I am using this in ASP Session page.
function ne(){
if(!confirm("Save your work before proceeding. Press CANCEL to save your work by clicking Save button or Press OK to proceed other page"
){
document.location.href=this.href; (or) history.go(0)
return " "
}
}
If u click ok/cancel button on confirm box, it redirects to a other page. I need to redirect only if the user clicks OK button.
Thanx
Kishore
I have a problem with history.go() function. I am using this in ASP Session page.
function ne(){
if(!confirm("Save your work before proceeding. Press CANCEL to save your work by clicking Save button or Press OK to proceed other page"
document.location.href=this.href; (or) history.go(0)
return " "
}
}
If u click ok/cancel button on confirm box, it redirects to a other page. I need to redirect only if the user clicks OK button.
Thanx
Kishore