I want a popup to open if a panel is closed. How to do that in Javascript?
I tried this but then the panel just closing.:
code
if (Appery("panelName").panel() = "close")
{
Appery("popupName").popup("open");
}
/code
I want a popup to open if a panel is closed. How to do that in Javascript?
I tried this but then the panel just closing.:
code
if (Appery("panelName").panel() = "close")
{
Appery("popupName").popup("open");
}
/code
Hello Nicklas,
Please use JS code below:
preif (Apperyio("panelName").hasClass("ui-panel-closed")){
Apperyio("popupName").popup("open");
}/pre