Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/03/2012, 11:16
Avatar de Naahuel
Naahuel
 
Fecha de Ingreso: marzo-2011
Ubicación: localhost
Mensajes: 796
Antigüedad: 13 años, 1 mes
Puntos: 192
Respuesta: No me funciona .click() en chrome

El problema debe estar en otra parte, .click() debería funcionar perfectamente:

Código HTML:
Ver original
  1. <!doctype html>
  2.     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  3.     <script type="text/javascript">
  4.         $(function(){
  5.             $('input[type="file"]').click(function(){
  6.                 $(this).after('<p>Click</p>')
  7.             });
  8.         });
  9.     </script>
  10.     <title>Click Input File</title>
  11. </head>
  12.     <input type="file" />  
  13. </body>
  14. </html>

Con focusin():
__________________
nahueljose.com.ar