I don't know much about Javascript, but it seems like this should be easy to do...
How do I make an "if" statement dependant on two variables.
i.e.
if (a == 1) && (b == 2){
3
}
else {
999
}
Thanks!
Alan
I don't know much about Javascript, but it seems like this should be easy to do...
How do I make an "if" statement dependant on two variables.
i.e.
if (a == 1) && (b == 2){
3
}
else {
999
}
Thanks!
Alan
if ( (a == 1) & (b == 2) ) {
3
} else {
999
}// or
if (a == 1 && b == 2){
3
} else {
999
}
George Kaiser