jquery - How to change styles of a component dynamically using widgetwar? -


is there way make notification bar hide automatically. mean can using javascript. primefaces providing other functionality that?

and want know way change styles widget in javascript.

for example

<p:notificationbar widgetvar="notify" /> 

i can use

notify.show() , notify.hide() 

but how change styles background color, in javascript?

you can access css follows:

jquery(notify.jq).css(); 

use css() function according jquery reference manual.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -