'and' operator?

Hi Guys,

is this right to use two values in an if statement in javascript?

 if((valueA > 2)  (valueB < valueC)){

 }

Thanks guys and sorry for the newbie question… :)[/code]

I think so.

It certainly is.

You could leave out some parentheses if you wanted.

if (valueA > 2  valueB < valueC)

http://bit.ly/cVf5T4