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
Developer
amrishodiq
Posts: 112
Registered: ‎09-23-2009
My Device: Not Specified

Problem when trying jQuery sample application

Hi all,

I'm new at developing with Webworks.

I'm facing problem when trying the sample code I took from

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Sample-Code-jQuery-Mobile-Applic...

 

Here is what shown in console:

 

TypeError: undefined is not a function.
	at Remote Debugging Project\code.jquery.com\jquery-1.5.2.min.js in function ba(jquery-1.5.2.min.js:16)
	at Remote Debugging Project\code.jquery.com\jquery-1.5.2.min.js in function (jquery-1.5.2.min.js:16)
	at Remote Debugging Project\code.jquery.com\jquery-1.5.2.min.js in function (jquery-1.5.2.min.js:16)
	at Remote Debugging Project\code.jquery.com\jquery-1.5.2.min.js in function (jquery-1.5.2.min.js:16)

And the simulator show  standard web (white page with some text), no jQuery effect shown.

 

What's wrong? Am I missing something? I spent nearly a whole night searching solution in this forum and Google, but nothing seems to works.

Please use plain text.
Developer
amrishodiq
Posts: 112
Registered: ‎09-23-2009
My Device: Not Specified

Re: Problem when trying jQuery sample application

Anyone willing to help?

Please use plain text.
New Member
par20pinspot
Posts: 2
Registered: ‎06-01-2011
My Device: Bold
My Carrier: Verizon

Re: Problem when trying jQuery sample application

Make sure your app has access to that domain in the config.xml file
Please use plain text.
New Contributor
rtraction
Posts: 2
Registered: ‎06-08-2011
My Device: Tour 9630, several others
My Carrier: Telus

Re: Problem when trying jQuery sample application

I'm having the same issue. I have http://code.jquery.com added in the project permissions.

Please use plain text.
New Contributor
rtraction
Posts: 2
Registered: ‎06-08-2011
My Device: Tour 9630, several others
My Carrier: Telus

Re: Problem when trying jQuery sample application

Out of desperation, I tried using older versions of jquery and jquery mobile. I managed to get it working with jQuery 1.4.4. However, I have no idea why this would make a difference, particularly since others are able to use the latest version. Please advise as this is more of a workaround than an actual solution.

Please use plain text.