Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/09/2010, 05:59
Dany_s
 
Fecha de Ingreso: diciembre-2009
Ubicación: Misiones
Mensajes: 867
Antigüedad: 14 años, 5 meses
Puntos: 65
Respuesta: Jquery: evento click hacia un input file

Código HTML:
Ver original
  1.     <head>
  2.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  3.         <title>Prueba</title>
  4.         <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  5.         <script type="text/javascript">
  6.             $(document).ready(function(){
  7.                 $('#elInput').click( function (){
  8.                     alert("Click");
  9.                 });
  10.             })
  11.         </script>
  12.     </head>
  13.     <body>
  14.  
  15.     <input type="file" id="elInput" />
  16.  
  17.     </body>
  18. </html>