Ver Mensaje Individual
  #6 (permalink)  
Antiguo 09/12/2010, 08:14
Dany_s
 
Fecha de Ingreso: diciembre-2009
Ubicación: Misiones
Mensajes: 867
Antigüedad: 14 años, 5 meses
Puntos: 65
Respuesta: $.post problemas Internet Explorer

si, cuando haces el submit tenes que cancelar el comportamiento, podes hacerlo con return false

un ejemplo

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.                 $('#form').submit( function(){
  8.                     alert("envio");
  9.                     return false;
  10.                 });
  11.             });
  12.         </script>
  13.     <body>
  14.         <form id="form">
  15.             <input type="text">
  16.             <input type="submit">
  17.         </form>
  18.  
  19.     </body>
  20. </html>