/ Published in: JavaScript
When a link is clicked, call up this function.
Parameter message = message you want to display after click url = page you want to forward to if the user clicks OK
Expand |
Embed | Plain Text
function confirmMessage(message, url) { if (confirm(message)) { location.href = url; } }
You need to login to post a comment.
