Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/07/2009, 06:24
Avatar de trasgukabi
trasgukabi
 
Fecha de Ingreso: septiembre-2004
Mensajes: 2.749
Antigüedad: 20 años, 6 meses
Puntos: 18
Respuesta: onclick en IE

No es nada de la función jquery.

he hecho uno nuevo:
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
  3. <head>
  4. <script type="application/javascript">
  5.     function hola(){
  6.         alert('hola');
  7.     }
  8.  
  9. </head>
  10.  
  11. <form><input type="button" onclick="hola();"  value="Esta no me gusta, dame otra al azar."/></form>
  12. </body>
  13. </html>
Y TAMPOCO FUNCIONA.

NI CON
onclick="hola()"
NI CON
onclick="javascript:hola();"
NI COM
onclick="javascript:hola()"


le he quitado las etiquetas <form>, se las he puesto, he rezado a la madre tierra que se lo lleva al infierno...y nada. Y será una chorrada que no veo.