Answers for "jquery change page on click"

0

jquery change page on click

$('#someButton').click(function() {
    window.location.href = '/some/new/page';
    return false;
});
Posted by: Guest on February-23-2021
0

jquery change page on click

$('#link').click(function(){
  alert("Clicked");
  window.location.href="http://smashingmagazine.com";
});
Posted by: Guest on February-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language