0

Using http://malsup.github.com/jquery.form.js plugin.

$(document).on('click','button.submitButton', function(e){

      var options = { 
        target:'#comment_results',  
        success: function() { 
                $('#comment_results').fadeIn('slow');
                $('#status_notification').fadeOut('slow');          
            } 
    }; 

    // pass options to ajaxForm 
    $(this).closest('form').ajaxForm(options);
    $(this).closest('form').ajaxSubmit();

     e.preventDefault(); // stop the browser from following the link 
    });

Internet explorer version 10 not stopping the browser from following my link. Works fine in firefox and chrome. Any ideas ?

user2197774
  • 453
  • 1
  • 6
  • 20

0 Answers0