How to Page Redirection by Java Script | Page Redirection using Java Script

window.location = "";

You can create a java script function and called by onclick method by clicking any element.

Like: a teg or button

function Redirect() {
  window.location = "";

Page Redirection java script function called by a teg

<a href="#" onclick="Redirect()" > Click and Change URL </a>

Related Posts

Leave a Reply

Your email address will not be published.