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