Hi,
yes, that sounds like a strange problem and I think it really is. I observed the following behavior after upgrading to jQuery 1.5.2:
When my webapp runs in fullscreen mode on the iPhone and connected using 3G, the .load() function doesn't seem to work.
When using in mobile Safari (normal mode) or connected through WLAN, it works as expected.
When downgrading to jQuery 1.4.4 it runs in 3G and fullscreen mode.
I have no idea how to analyze that problem further, as I cannot read log messages in fullscreen mode. However, the request is obviously not sent to the server.
In the first attempt to solve the problem I was adding a timestemp to the request query ('&_1239849482394'), but that didn't solve the issue.
My webapp consists of an empty HTML file
- <html>
- <head>
- ...
- </head>
- <body>
- </body>
- </html>
and when the document is ready, it loads the page content, like:
- $('body').load(url, function() { ... });
As I said, it works almost always, so I don't see that the problem can be in my part of the application.
Does anyone have an idea which change in jQuery 1.5.2 (compared to 1.4.4) might cause this behavior?
Thanx,
Moritz