senchalabs / jQTouch

Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).
http://www.jqtouch.com/
MIT License
2.79k stars 592 forks source link

$.ajax with aync:false in IOS 8 hangs in Chrome Browser #519

Closed vbcodep closed 9 years ago

vbcodep commented 9 years ago

Seem to have a problem with IOS 8 and async:false. Seems to hang when executed. Seems to work fine in IOS 7. Setting async: true seems to work fine.

$.ajax({ type: 'GET', url: picker, dataType: 'html', timeout: 300, async: false, context: $('body'), success: function (data) { alert("success"); } });

thomasyip commented 9 years ago

Can you elaborate why it might be a JQT issue?

Sent from my iPhone

On Sep 23, 2014, at 3:01 PM, vbcodep notifications@github.com wrote:

Seem to have a problem with IOS 8 and async:false. Seems to hang when executed. Seems to work fine in IOS 7. Setting async: true seems to work fine.

$.ajax({ type: 'GET', url: picker, dataType: 'html', timeout: 300, async: false, context: $('body'), success: function (data) { alert("success"); } });

— Reply to this email directly or view it on GitHub.