title: How to specify the 5 apex items on my javascript code at oracle apex
body: <p><a href="https://i.stack.imgur.com/lLF8M.png" rel="nofollow noreferrer">Please see picture on the link.</a>
  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.</p>
  <p>Here is my code:</p>
  <pre><code>if (apex.item(&quot;P82_SOLN_4&quot; ).isEmpty()) {
  
  $x_Hide(&quot;soln4&quot;);
  
  } else {
  
  $x_Show(&quot;soln4&quot;);
  
  }
  </code></pre>