Page is a not externally linkable
Sandro87 - 7:12 pm on Aug 21, 2010 (gmt 0)
hi how can I return false so that the page wont go on the top when someone doesn't confirm a JS confirm?
function confirm_tip(url, message){
if(confirm(message)){
window.location= url;
}
}
function confirm_tip(url, message){
if(confirm(message)){
window.location= url;
}
else{
return false;
}
}
this doesn't work