Monday, March 11, 2013

Redirect page with JavaScript - jQuery

How to redirect page with jQuery?
Create first file and paste code between <body></body> tags.

1. File name: index.html



Redirect my page to second file
My first page: index.html
Now create second file and paste code between <body> </body>  tags.

2. File name: secondFile.html


Redirect my page to index
My second page: secondFile.html
Redirecting page with jQuery is easy and fast to do.

No comments: