AJAX on the iPhone?

后端 未结 6 1921
忘掉有多难
忘掉有多难 2021-01-03 09:35

I have a site that I\'ve developed that makes decent use of Javascript, and minimal use of AJAX for a few things. The site worked fine on the iPhone until I added the functi

6条回答
  •  难免孤独
    2021-01-03 09:50

    I ran into the same problem recently using jQuery, but it was Safari Mobile's behavior at issue. Maybe in your case too.

    Shorten the ajax url from "http://the/full/url" to "/just/the/relative/to/root/part"

    BTW, it was @pillsbur who originally found the solution here:

    http://www.webmasterworld.com/javascript/3382262.htm

提交回复
热议问题