Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/03/2005, 10:29
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola necu

Podrías dejar las funciones así:
Código PHP:
function fondo_textbox1(obj)
{
obj.style.backgroundColor='white';
}
function 
fondo_textbox2(obj)
{
obj.style.backgroundColor='#FFFF99';

Y llamarlas de esta forma:
Código:
onblur="fondo_textbox2(this)" onfocus="fondo_textbox1(this)
Saludos,