![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
05/12/2008, 21:19
|
![Avatar de killerangel](http://static.forosdelweb.com/customavatars/avatar196569_1.gif) | | | Fecha de Ingreso: septiembre-2007 Ubicación: Un punto en el espacio
Mensajes: 592
Antigüedad: 17 años, 4 meses Puntos: 10 | |
Jquery: No me reconoce funcion de objeto Hola foro...
hago:
jQuery.OBJETO= function (){
this.variable=1;
this.alerta=function(){
alert('entra');
}
}
cuando llamo a $.OBJETO.variable, retorna 1
pero cuando hago $.OBJETO.alerta() me dice q no es una funcion
que puedo hacer?
gracias
__________________ Sueñen... y trabajen por hacer esos sueños realidad... de eso se construye el futuro!! Me siento entre la ASP-ada y la PHP-red |