ajax function broke on Blackberry OS/6 - ajax

I was using XUI javascript library for Blackberry web application (OS 4.7 and 5.0). I just tried code on Blackberry Bold with OS6.
Problem is that http ajax calls to remote server fail. No errors are shown, just calls do not work. Programs works 100% with Mozilla and IE on desktop and older Blackberry models. Can anyone suggest a fix, or a better library? I do not need GUI that jQueryMobile offers.

Related

Does IE 6 Mobile Support AJAX?

I am developing a web application and that will be mainly used in Windows CE hand sets which has Windows CE 4.2 with IE 6 and I just wanted to know whether AJAX and JQuery can be used in my web app or not.
I tried using UpdatePanel in my project, but, it seems to be not working. Any advice will greatly appreciated.
To have support for AJAX you need support for Javascript and for XMLHttpRequest object.
A WinCE image can include support for both:
JScript;
XMLHttp (xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");)
If you have IE6 mobile installed on your wince image I can imagine that both componente are included in the wince image itself.
As a consequence also JQuery is supported but if you use IE6 you have to use at max the 1.9 version: see here

AJAX not working in IE7

We have a lot of AJAX in our pages. Mostly it's been in our internal systems, so we haven't tested it with a lot of browsers. But at the moment we're developing a major feature, that will use AJAX, for our customers and we testing it more thoroughly. One of the tests have been in IE9 running IE7 mode, which worked just fine. But when we took a machine running a real IE7 browser, we discovered that AJAX only works once on any of our pages. It seems that after a part of the page is re-rendered with ajax, all javascript events in the part of the HTML that was re-rendered stops working. It's impossible to get even a javascript alert() box to appear.
Since we only have one machine with IE7, we would like to know if anyone can verify that this is a real problem, and not just a problem with this one machine of ours?
And if it is a real problem, what did you do to fix it? 10 % of our users still use IE7, so cutting that browser just isn't a workable solution.
UPDATE / SOLVED:
We decided to get a new server and set it up with Windows XP. Even though we don't support it, we tested it in IE6 and it worked. Then we installed IE7 and it worked too. Guess our old test server is all messed up some how. So all works in IE7 after all.
Thank you for the suggestions all.
Personally I intend to forget about older browsers, but I usually use the jQuery library for my AJAX requests since I usually use jQuery anyway for specific animations etc.
jQuery supports these browsers:
Firefox 3.6, 5.0.x, 6.0.x
Internet Explorer 6+
Safari 5.0.x Opera Current - 1
version Chrome Current - 1 version
source
Because jQuery AJAX is very much part of the jQuery library as anything else, I assume that the jQuery AJAX is supported by these browsers as well.
jQuery AJAX API
AJAX calls are cached in IE. Use "cache: false" in the ajax call options.

Adobe Air (Flex) with Ajax

I am currently developing a desktop application on flash builder 4.5 . It make uses of Flex.
I found out that there is an Flex-Ajax bridge that can be used to implement Ajax.
But does this work out for desktop application? Cause Ajax is javascript. so i assume that it is only able to use it in web applications.
Can AJAX be implemented in Flex desktop application ?
You can use XMLHttpRequest with javascript.

Debugging web app on the palm pre?

I have a web app that works fine on desktop browsers, but struggles on the palm pre browser (via the emulator). How do I debug the app on the palm pre browser? There doesn't seem to be any error console, dom inspector, etc... I'd expect such tools from a web-app oriented phone.
The debugging tools on the webOS platform are generally still poor, and thats speaking for the application development.
I dont think there is any debugger for the web browser. You're stuck with document.write and related.
And for applications themselves, its better, but not by much. There is a command line debugger that you can use to set break points and inspect. There is also an inspector based on Safari that you can use to inspect the dom and such. And there is basic info/warn/error debugging to syslog. But these are for applications using the Mojo framework, and not exposed to web pages.
That said, the browser is based on Webkit, so its fairly close to Safari 4. There are some good sized chunks missing in Canvas and advanced CSS support. Browsing the developer forums will help see what CSS and Canvas features are missing or broken.

How does the Mac Web Dash board app work?

Would like to understand how to build a tool like the mac os dash board widget (web clip). Am looking at trying to build it with webkit but not sure if thats the right way to go.
Some thoughts were to using webkit and some DOM to display only the viewport that a user requests.
While this works so well on mac os, am trying to build it on windows with .Net.
Dashboard just uses webkit to display some HTML and JavaScript for the dynamic parts, but there are a couple of extensions. Apple have developer documentation on Dashboard.

Resources