jquery change page on click code example
Example 1: jquery change page on click
$('#link').click(function(){
alert("Clicked");
window.location.href="http://smashingmagazine.com";
});
Example 2: jquery change page on click
$('#someButton').click(function() {
window.location.href = '/some/new/page';
return false;
});