M... le puse así:
Código:
if (tecla == 8) { return true; }
else if (tecla==9) {return true; }
Y no me funcionó... normalmente en PHP haría algo así:
Código:
if (tecla == 8 || tecla == 9) { return true; }
Pero tampoco funcionó...
¿Cómo indico la condición OR o AND en un IF en JavaScript??