What\'s the right way to initialize objects on a jquery mobile page? The events docs say to use \"pageInit()\" with no examples of that function, but give exam
pageInit()
.live() is deprecated, suggestion is to use .on() in jQuery 1.7+ :
.live()
.on()
Check the online doc for more information about .on(): http://api.jquery.com/on/