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:
JavaScript
x
10
10
1
if (apex.item("P82_SOLN_4" ).isEmpty()) {
2
3
$x_Hide("soln4");
4
5
} else {
6
7
$x_Show("soln4");
8
9
}
10
Advertisement
Answer
I was able to work it out now. Thank you.