
07/08/2007, 08:52
|
| | Fecha de Ingreso: marzo-2007
Mensajes: 58
Antigüedad: 18 años Puntos: 0 | |
Re: Condicional que no funciona Cita:
Iniciado por astut
Código:
function Mover(campo,arriba,abajo,izquierda,derecha,direccion)
{
if (document.getElementById(arriba).value= "np" || document.getElementById(abajo).value= "np" ||
document.getElementById(izquierda).value= "np" || document.getElementById(derecha).value= "np")
{
window.open("panel.php", "_blank", 'width=300, height=400');
break;
}}
Pues el condicional no funciona Sustituye por |