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.

inside custom component

Web and WebWorks Development

Reply
New Developer
ttklf4
Posts: 43
Registered: ‎07-29-2008
My Device: Not Specified

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.

New Developer
deangrover
Posts: 1
Registered: ‎09-21-2009
My Device: Not Specified

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.