Please see picture on the link. How do I code 5 apex page items in a javascript using if else condition. Initially, what I am doing is i am trying to hide regions which will have empty page items and that depends on the sql query results. please help. thank you.
Here is my code:
if (apex.item("P82_SOLN_4" ).isEmpty()) { $x_Hide("soln4"); } else { $x_Show("soln4"); }
Advertisement
Answer
I was able to work it out now. Thank you.