Redirector on Click
After clicking, set a time delay to redirect to a specific url within a variable.
HTML
<button>Click Me</button>
JavaScript
$(function() {
$('button').click(function() {
var url = 'http://www.verriwellness.com/';
var delay = 5000;
setTimeout(function() {
window.location.href = url;
}, delay);
});
});