Expression for "is x greater than y and less than z"?
Here's the code:
if (score > 0 && score < 8){
alert(score);
}
P.S. This has nothing to do with jQuery. It's simple, naked JavaScript!
if ((score > 0) && (score < 8)) {
alert(score);
}
But this is JavaScript, not jQuery.