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
Trusted Contributor
ankitagrawal
Posts: 141
Registered: ‎02-15-2012
My Device: 9800

Is it possible to implement jQuery in Blackberry

Hi All,

          Can anyone please tell me that is it possible to implement jQuery with any action.

 

I have to implement browser field and have to get any actions(Button action, radio button action) from this field.

 

Please tell me that how can I implement it?

 

Thanks,

Ankit

Please use plain text.
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: Is it possible to implement jQuery in Blackberry

You are the wrong forum for JQuery - you need to be in the WebWorks forum here:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev

 

A mod might move this, or you could ask there yourself.

Please use plain text.
Trusted Contributor
ankitagrawal
Posts: 141
Registered: ‎02-15-2012
My Device: 9800

Re: Is it possible to implement jQuery in Blackberry

Thanks for your reply peter. Actually I have to implement the same in java supporting blackberry devices.

 

Peter, can you please tell me how can we get click event of an button in browser field.

 

Thanks again.

Please use plain text.
Retired
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Is it possible to implement jQuery in Blackberry

Yes you can implement jQuery on BlackBerry.

 

However, you will not enjoy doing so within a Java BrowserField as jQuery does not officially support it.

http://jquery.com/browser-support/

 

From their site:

 

"While jQuery might run without major issues in older browser versions, we do not actively test jQuery in them and generally do not fix bugs that may appear in them."

 

 If you want to see how you can detect keyboard events from a Web page using JavaScript, here is a sample (non-jQuery):

http://blackberry.github.com/WebWorks-Samples/kitchenSink/html/browser/keyevents.html

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.