Ver Mensaje Individual
  #11 (permalink)  
Antiguo 14/01/2008, 09:17
djskpa
 
Fecha de Ingreso: junio-2007
Mensajes: 11
Antigüedad: 16 años, 11 meses
Puntos: 0
Re: problema onclick="load(this); en firefox

Hola.

En la función addevent no existe ninguna linea con "getElementById()" :

function addEvent(elemento,nomevento,funcion,captura)
{
if (elemento.attachEvent)
{
elemento.attachEvent('on'+nomevento,funcion);
return true;
}
else
if (elemento.addEventListener)
{
elemento.addEventListener(nomevento,funcion,captur a);
return true;
}
else
return false;
}
Un Saludo.
Gracias.