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
Contributor
Posts: 10
Registered: ‎05-29-2013
My Device: 9510
My Carrier: idea

Jquery

How to get value by class name using jquery

 

$('.ClassName').val();

Highlighted
Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: Jquery

It looks like you're using the correct Class Selector:

http://api.jquery.com/class-selector/

 

What issues are you seeing? Does Web Inspector show any errors?


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.