$(document).on('pageinit') vs $(document).ready() Ahmad Mustain 0 The first thing you learn in jQuery is to call code inside the $(document).ready() function so everything will execute as soon as the D... 7:11 PM Read more »