jQTouch bind("pageAnimationEnd") when page is loaded dynamically -
in jqtouch fetching page dynamically server per jqt demos per
<a href="/page" class="button">the page</a>
it loads html snippet
<div id="page">
normally i'd able do
$('#page').bind("pageanimationend", ...)
to know when page had finished loading, doesn't seem work dynamically loaded content. i've been trying find workaround haven't been able to. think question on asking same thing, there didn't seem conclusive answer.
if have access "page", put javascript on page , executed when done loading. in page html add ...
<script> $(function() { when im finished }); </script>
Comments
Post a Comment