jQuery mobile redirects after page loads
===

I want to make a redirection with jQuery mobile right just after the page loads.
Something like this


    <?php
    ... some php stuff here
    ?>
    <html> 
        <head> 
            <link rel="stylesheet" href="css/jquery.mobile-1.1.1.min.css" />
            <script src="js/jquery-1.7.2.min.js"></script>
            <script src="js/jquery.mobile-1.1.1.min.js"></script>
        </head> 
    <script>
            $.mobile.changePage("index.php");
    </script>
But nothing happens...

Thanks!