I successfully show ajax based popups in a button clicked but I also want to show some error messages as well. For instance I have some code like
if(t == true){
showPopUp();
}
else{
}
But when I set popups to be show when button clicked it is not possible. How can I show conditional popups. Any help will be apreciated, thank you in advance.