![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/10/2005, 08:47
|
![Avatar de SiR.CARAJ0DIDA](http://static.forosdelweb.com/customavatars/avatar68448_2.gif) | | | Fecha de Ingreso: junio-2004 Ubicación: Acá
Mensajes: 1.166
Antigüedad: 20 años, 7 meses Puntos: 4 | |
cuando se asigna un evento a un objeto, se pasa implicito el objeto como parametro. ej:
miobjeto.onclick = funcion;
function funcion()
{
this.color = 'red';
}
this se refiere a miobjeto. |