title: javascript function call in conditional not being called if first returns false
body: <p>My problem is a seemingly simple one.</p>
  
  <p>I have two functions, function_a() and function_b() which show/hide a div, and return boolean values.</p>
  
  <p>I have a conditional</p>
  
  <pre><code>if(function_a() &amp;&amp; function_b())
  {
       //do stuff
  }
  </code></pre>
  
  <p>However if function_a() returns false, function_b() is seemingly not executed at all.
  I however want them both to run because i want them to show/hide their respective divs.</p>
  
  <p>Why does the second function not run if the first returns false, and how do i achieve what i want?</p>
  
  <p>Thanks</p>