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 - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -