From docs here:
Use $(document).bind('pageinit'), not $(document).ready()
I have the ff in a JQM page:
$(document).bind('pageinit',function(event){
//some code here
});
The page was loaded via ajax in JQM page, but it was NOT triggered at all. How to make it work?
Thanks