how to include multiple if statement conditions in jQuery

Posted by sadmicrowave on Stack Overflow See other posts from Stack Overflow or by sadmicrowave
Published on 2010-04-21T16:55:20Z Indexed on 2010/04/21 17:03 UTC
Read the original article Hit count: 335

I have an if statement that needs to look like this:

 if(statement && (statement || statement)){
       DO SOMETHING
 };

the problem is once I add the parenthesis the statement becomes invalid...any suggestions?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about if-statement