I have an ajax jsonp request done with JQuery that is done in the $(document).ready. It works perfectly fine in all browsers and even in Chrome on IOS but it doesn't always work in Safari on IOS. Sometimes, the code never return to success nor complete.
问问题
1374 次
2 回答
3
I ran into this today and spent a lot of time to fix it. Finally, what solved the issue was to move the javascript code at the end of the page instead of in the document.ready. This seem to be a bug with Safari.
I thought I'd share in case anyone else runs into this!
于 2012-10-19T19:56:15.183 回答
0
Try to turn off "Private" browsing in Safari.
于 2016-05-22T02:54:53.777 回答