• 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:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • Reddit
    • StumbleUpon
    • YahooMyWeb
    • Google Bookmarks
    • Yahoo! Buzz
    • TwitThis
    • Live
    • LinkedIn
    • Pownce
    • MySpace

    Topics: Javascript | No Comments »

    Related Links:

    Comments

    Security Code: