title: Multiple conditions using an AND if Statement, javascript
body: <p>Can anyone tell me what's wrong with this <strong>if</strong> statement? </p>
  
  <p>If I use either of the two main conditions on their own the statement works fine but when I add that middle <strong>&amp;&amp; statement</strong>, it stops working. I've searched online and can't see what's wrong.</p>
  
  <p><strong>P.S</strong>. I can even change that middle <strong>&amp;&amp;</strong> to a <strong>||</strong> statement and it works as well. I'm so confused.</p>
  
  <pre><code>if ((containerId.id == "LineOne" &amp;&amp; dropLoc == "dropLocation1.1") &amp;&amp; (containerId.id == "LineTwo" &amp;&amp; dropLoc == "dropLocation2.2"))
          {
              alert("finished");
              cdpause();      
          }
  </code></pre>