• AddThis Social Bookmark Button

    Add to Technorati Favorites

  • Archives

  • Redirecting the user through javascript

    By krates | June 6, 2008

    Some times we need to redirect the user

    for this we can use javascript

    Syntax:

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

    You can easily insert this in a javascript function and take out advatage

    thanks

    krates

    Share and Enjoy:
    • del.icio.us
    • Technorati
    • Digg
    • StumbleUpon
    • Ma.gnolia
    • Furl
    • Reddit
    • Slashdot
    • Spurl
    • YahooMyWeb

    Topics: Javascript |

    Related Links:

    Comments