Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I add/remove css classes via javascript when using ADF rich faces?

user2703334Jan 27 2014 — edited Jan 27 2014

Using jQuery I can reference an element and use either toggleClass, addClass, or removeClass functions. How would I accomplish that using the Adf client framework?

Here is my handler thus far

        function _toggleQuickLinks(event){                         var source = event.source();                         event.cancel();         }    

How do I correctly use the Adf client side objects to toggle the css class.

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2014
Added on Jan 27 2014
4 comments
1,311 views