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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -