Will jQuery .load() Work On PhoneGap?
问题 I know that the jQuery .load() function has a "problem": You can't retrieve pages that are outside of the current domain, because of the Same Origin Policy, but I remember when I was developing another program that I could do cross-domain AJAX without problems while on an PhoneGap compiled environment, but will it work while on PhoneGap(like normal AJAX) or it will just fail because of the policy? 回答1: You can use .load() or $.ajax() in PhoneGap applications. Most of my experience is with