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

php - Extract Text from HTTP referer -

Receive udp packets in android gstreamer -

authentication - ASP.NET Core 1.0. Bearer Token, cannot access custom claims -