08-19-2011 03:39 PM
Hello All,
I updated my sdk this morning and now my ajax calls are failing in my application.
var myReceivedData = xmlReq.responseXML.documentElement.childNodes[0].nodeValue;
It seems I can no longer access the responseXML from an XMLHttpRequest call. The responseText contains the correct data but the responseXML appears to be null.
Any ideas?
Thank you for your time!
08-21-2011 07:39 AM
Which version of the BlackBerry operating system are you using?
08-23-2011 10:37 AM
I tested it on the v5.0.0.977 9300 sim. I rolled back to v2.0.0.18 of the sdk and my code works fine again.
08-30-2011 05:30 PM
I have the same problem when using html5_init.js api for geolocation.
I take the responseText and parse it into XML objects
08-31-2011 08:54 AM
Is this from inside a Worker thread, or on the main page JavaScript thread?
08-31-2011 10:14 AM
On the main page JavaScript thread.
I think that this API has conflict with the main XMLHttpRequest object.
Fon example, when I try to change the headers, don't take this changes