1.

How to redirect a url using JavaScript?

Answer»

his is very simple to do a page redirect using JavaScript at client side. To redirect your site visitors to a new page, you just need to add a line in your head section as follows −

<head><script type="text/javascript"><!--   window.location="http://www.newlocation.com";//--></script></head>


Discussion

No Comment Found