1 Reply Latest reply on Feb 27, 2012 12:30 PM by Michael G

    How to call popupPanel to show from javascript function?

    Michael G Novice



      I have a popupPanel that i want to show using javascript but not using the rich:component method.


      I know i can do this


      <a4j:commandButton value="Open"


                                  style="width:100%" />


      I want do that within a function defined outside of the jsf page inside a .js file since depending on my criteria, the popup will be shown or not.


      I'm wondering how i can do that?