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
jeroen13
Posts: 39
Registered: ‎02-07-2012
My Device: Blackberry curve 8520 // Blackberry playbook 64GB
My Carrier: Vodafone

How to use Jquery in BBui.js

hi, im trying to make an app in BBUI.js and Jquery. i want to use bbui for the styling, and jquery to make it work. note: the data-role elements will be changed with collapsable blocks. link with the code : http://pastebin.com/2JydT9Zu
Please use plain text.
Contributor
Gerii
Posts: 33
Registered: ‎04-30-2012
My Device: PlayBook, DevAlpha
My Carrier: 3AT

Re: How to use Jquery in BBui.js

[ Edited ]

Have you considered using the jQueryMobile BB10 theme? https://github.com/blackberry/jQueryMobile-BB10-Theme

Please use plain text.
Developer
jeroen13
Posts: 39
Registered: ‎02-07-2012
My Device: Blackberry curve 8520 // Blackberry playbook 64GB
My Carrier: Vodafone

Re: How to use Jquery in BBui.js

I did, but Jquery-mobile BB10 is optimized for BB10 phones, and not for the Blackberry Playbook™. Thats why i want to use BBUI.js
Please use plain text.
Developer
jeroen13
Posts: 39
Registered: ‎02-07-2012
My Device: Blackberry curve 8520 // Blackberry playbook 64GB
My Carrier: Vodafone

Re: How to use Jquery in BBui.js

i found a new demo that can do exactly the same, and doesnt use Jquery. i dont know how i can make it work.... this is the code; i want it to fire when the page is opened. here is the code: http://pastebin.com/6Q6zWAPx
Please use plain text.