Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Developer
ttklf4
Posts: 43
Registered: ‎07-29-2008

Re: Ajax error

Hello muke80,

 

on the N97 cross-domain calls are allowed. The BlackBerry browser does not execute such calls. Therefore this might be your issue.

Please use plain text.
New Developer
deangrover
Posts: 1
Registered: ‎09-21-2009

Re: Ajax error

The real culprit is request.open function's url parameter. The whole thing will work if you'll omit the domainname i.e. instead of calling 

 

request.open('GET', 'http://something.com/<yoururl>', true);

 

just call

 

request.open('GET','/<yoururl>',true);

 

Let me know if it works. 

 

Please use plain text.