Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/12/2010, 08:23
Dany_s
 
Fecha de Ingreso: diciembre-2009
Ubicación: Misiones
Mensajes: 867
Antigüedad: 14 años, 5 meses
Puntos: 65
Respuesta: Quiero Cambiar los eventos de este plugin a live(), pero no me funciona

de funcionar funciona, no sé como lo tienes implementado

Código HTML:
Ver original
  1.     <head>
  2.         <title>Ejemplo</title>
  3.         <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  4.     </head>
  5.         <script type="text/javascript">
  6.             $( function (){
  7.                 $('#focus').live('focus', function(){
  8.                     alert("focus");
  9.                 });
  10.                 $('#keyup').live('keyup', function(){
  11.                     alert("keyup");
  12.                 })
  13.                 $('#blur').live('blur', function(){
  14.                     alert("blur");
  15.                 });
  16.             });
  17.         </script>
  18.     <body>
  19.         <form id="form">
  20.             focus <input type="text" id="focus"> blur <input type="text" id="blur"> keyup <input type="text" id="keyup">
  21.         </form>
  22.  
  23.     </body>
  24. </html>