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
Post a Comment