![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/10/2008, 02:37
|
![Avatar de chemita59](http://static.forosdelweb.com/customavatars/avatar113727_2.gif) | | | Fecha de Ingreso: agosto-2005 Ubicación: Madrid
Mensajes: 107
Antigüedad: 19 años, 5 meses Puntos: 0 | |
Respuesta: Si numero negativo cambio de color en caja de texto Hola buenos dias JAVIERB:
Sigue sin funcionar
<script language="JavaScript" >
function rojo_1(){if (parseInt(textfield13.value) < 0) {textfield13.style.color = "#ff0000"}
</script>
onChange="rojo_1(this)"
He puesto estos valores en la funcion y el evento...
Tiene que ser una tonteria...
Saludos. |