title: Submit is not functioning
body: <p>I have this code. It works with google chrome and <code>firefox</code> but I don't understand why it fails with IE 9. I think there is a problem with <code>jquery</code> submit or trigger. I searched a lot on the web and I didn't find a solution. It Seems to be hard to show the problem because sometimes it works but very rarely.</p>
  
  <pre><code>$(function() {
  $("#dialog").dialog("destroy");
  
  
  
  $("#dialog").dialog({
      autoOpen: false,
      height: 200,
      width: 300,
      modal: false,
      buttons: {
          'Se connecter': function() {
              $(".ajax").trigger('submit');
          },
          Retour: function() {
              $("#dialog").dialog('close');
          }
      },
      close: function() {
  
      }
  });
  
  $(".ajax").submit(
      function(e) {
          var login_username = $("#login_username").val(),
           login_password = $("#login_password").val();
  
      //alert(login_username + " pass  " + login_password+ " domaine " +domaine_apside);
  
      $.post('Login',{login_username:login_username,login_password:login_password});
      location.reload();
      return false; // Pour empêcher le submit vers la page 'action'
  });
  
  
  $('#connect')
      .button()
      .click(function() {
  
      $('#dialog').dialog('open');
  });
  });
  </code></pre>