Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to redirect html page using jQuery ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 210
    Comment on it

    Welcome to findnerd, today we are going to discuss How to redirect html page using jQuery ?

    In this blog you can see How to redirect html page ?

    You can simply use the JavaScript "window.location" property to make a page redirect.

    you can see bellow example:

    if you want to redirect the page when an event occurs, such as when the user click on a button, you can just use the window.location.href

    window.location.href = "http://findnerd.com";
    
    If you want to redirect the user from one page to another automatically, you can use the bellow syntex
    window.location.replace("page_url")
    

    you can see bellow example:

    window.location.replace("http://findnerd.com/");
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: