Redirecting Page(php) using Jquery Timer

Posted by rag on Stack Overflow See other posts from Stack Overflow or by rag
Published on 2010-03-12T07:10:00Z Indexed on 2010/03/12 7:17 UTC
Read the original article Hit count: 339

Filed under:

i have tried this code to redirect a php page.but it s not working .can any body please tell me the solution(is there any changes needed in the body part of parent page?).... / / here am pasting the code(header part) /

<script type="text/javascript" src="jquery/jquery-latest.pack.js"></script>
<script type="text/javascript" src="jquery/jquery.timer.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        // This will hold our timer
        var myTimer = {};
            // delay 3 seconds
            myTimer = $.timer(3000, function() {
                //redirect to home page
            window.location = "http://sys3/shinshiva9/shin_shiva/booking_table.php";
            });
    });

</script>

© Stack Overflow or respective owner

Related posts about jQuery