Side navigation
#7970 closed bug (worksforme)
Opened January 14, 2011 10:10AM UTC
Closed January 17, 2011 12:22AM UTC
Ajax on Windows Mobile don't work (having fix)
Reported by: | info@kuvalda.spb.ru | Owned by: | info@kuvalda.spb.ru |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | ajax | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
There is old bug from jQuery 1.2 version.
This bug have known fix:
http://community.livejournal.com/ru_webdev/2638679.html (in Russian)
Attachments (0)
Change History (3)
Changed January 14, 2011 10:38PM UTC by comment:1
component: | unfiled → ajax |
---|---|
owner: | → info@kuvalda.spb.ru |
priority: | undecided → low |
status: | new → pending |
Changed January 14, 2011 11:09PM UTC by comment:2
status: | pending → new |
---|
I have this problem with jQuery 1.4.4 shipped with Microsoft MVC3 package.
Mobile device is HTC TyTN WM6.
I'm use google to search information and find this post with workaround.
Here is my code:
<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> <title>Write to Us!</title> <link href="/Content/Site.css" rel="stylesheet" type="text/css" media="all, handheld, print, screen" /> <link href="/Scripts/themes/ui-lightness-rem/jquery-ui.css" rel="stylesheet" type="text/css" media="all" /> <script src="/Scripts/jquery-1.4.4.min.js" type="text/javascript"></script> <script src="/Scripts/jquery-ui.min.js" type="text/javascript"></script> <script src="/Scripts/jquery-ui-i18n.js" type="text/javascript"></script> </head> <body> <div id="page"> <div id="logindisplay"> <script language="JavaScript" type="text/javascript"> $(function () { $('#logindisplay').load('/en/Account/RenderLoginForm'); }); </script> Loading... </div> </div> </body> </html>
This code works nice in desktop FF, IE8, Chrome.
/en/Account/RenderLoginForm - return html block with login form or user information if logged.
In Windows Mobile 6 devices (my HTC TyTN and some other tested)
displayed "Loading..."
Changed January 17, 2011 12:22AM UTC by comment:3
resolution: | → worksforme |
---|---|
status: | new → closed |
The "fix" mentioned on the website you linked to is in jQuery since 1.4.0. I also couldn't reproduce your problem with this test case and the Windows Mobile 6.1.4 Emulator
If you can provide a reduced test on http://jsfiddle.net which reproduces the problem, report back and so we can investigate the issue further. Also include more specific information (MVC3 package final release?, useragent string of the browser, ...)
P.S.: I couldn't find any useful information on msdn blog site the russian site links to.
P.P.S.: The new ActiveXObject("MSXML2.XMLHTTP");
line should only be needed for IE <= 5 (which is not supported).
Thanks for taking the time to contribute to the jQuery project by writing a bug report.
Please submit a reduced test case, which reproduces the issue you are experiencing, on http://jsfiddle.net. So that we can investigate this issue further.
If I understood correctly you reported this against jQuery 1.2? That is a very old version so please verify if this still applies to today released 1.5b1 version of jQuery.
How to report bugs