• Archives

  • Redirecting the user through javascript

    By admin | 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

    Topics: Javascript | Comments Off on Redirecting the user through javascript

    Related Links: