Automatic Redirect using Javascript
You can redirect your users from the current page to a desired page using JavaScript. Please use the following code to do so:
| CODE |
|
<script type="text/javascript"> <!-- window.location.href = "http://www.w3courses.com/" //--> </script> |
Related Articles
- Validate a Check Box Using JavaScript
- Multi Level Drop Down Category & Subcategory Hierarcheal Selection using JavaScript
- Flash and JavaScript Conflict: Javascript Menu goes behind the flash file
- Display Current Date Automatically on your Website using JavaScript
- How to Create a Reload Button which will Reload the Webpage upon Clicking using JavaScript
- Automatically Redirect from one Webpage to Another Webpage using JavaScript
- How to Display a Webpage in the PopUp Window after Clicking from a Link using JavaScript
- Disable Right Clicking on Webpage, Images and Photos with JavaScript
