libbybaldwin / phonegap-api-demo-jquery-mobile

Demo App of PhoneGap APIs using jQuery Mobile
40 stars 43 forks source link

jQuery Mobile init should use 'pageinit' instead of doc ready #1

Closed libbybaldwin closed 12 years ago

libbybaldwin commented 12 years ago

To init jQM use:

$('#page-id').live('pageinit', function(event){

instead of:

$(document).ready(function() {