问题描述:

I have been making this app for a while and the whole time I have been using $(document).ready(function(){ to start my javascript and now I have run into a problem where I am using ajax to call in json arrays and organize them into lists. After some research I found that I need to now use $(document).bind("pageinit", function(){ When I change it I stop getting all the console errors I was getting before but now the ajax calls will not work. Is there anything else I have to do besides changing $(document).ready(function(){ to $(document).bind("pageinit", function(){

相关阅读:
Top