1. How to redirect from the page to a different page on client side
document.location.href = 'url'
- How to make a button to redirect to a different page when clicked using JQuery
$('button selector').click(function{
document.location.href = 'the-link-to-go';
})
document.location.href = 'url'
- How to make a button to redirect to a different page when clicked using JQuery
$('button selector').click(function{
document.location.href = 'the-link-to-go';
})
No comments:
Post a Comment