Jqm

From Wiki2
Revision as of 14:55, 24 January 2012 by Tim (talk | contribs)

pageinit doesn't fire if its in the loaded .js so put it in the div

<body>
    <div id="indexPage" data-role="page">
        <script type="text/javascript">
            $("#indexPage").live('pageinit', function() {
                // do something here...
            });
        </script>
    </div>
</body>