search

Home  >  Q&A  >  body text

ajax - html5+phonegap+jqm开发android应用,$.getJSON()无法执行……

执行到alert(pwd)都是正常的,但是就是死活不能执行接下来的$.getJSON(在PC浏览器上能执行,但是一到手机上就OVER……导致手机上不能登录)………求解……急急急急急急急急急!!!!!

天蓬老师天蓬老师2786 days ago755

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 11:19:06

    Is it true that PhoneGap’s config.xml does not allow requesting the corresponding host?

    You can also refer to http://stackoverflow.com/questions/11318703/access-control-allow-origin-error-at-android-4-1

    reply
    0
  • Cancelreply