/ Published in: JavaScript
Popup on load page, if the visitor clicks Cancel, they will be returned to the previous page.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function CONFIRM(){if (!confirm ("Change this to your message")) history.go(-1);return " "} document.writeln(CONFIRM())