Jquery StopPropagation not working in firefox

Posted by Karim Mortabit on Stack Overflow See other posts from Stack Overflow or by Karim Mortabit
Published on 2012-09-23T21:32:08Z Indexed on 2012/09/23 21:37 UTC
Read the original article Hit count: 228

I have this code working on Safari and Chrome , but not in Firefox . Is firefox having a problem with StopPropagation() ?

   $(function() {

   // Setup drop down menu
   $('.dropdown-toggle').dropdown();

   // Fix input element click problem
   $('.login-menu form').click(function(e) {
   alert( e.isPropagationStopped() );
   e.stopPropagation();
   alert( e.isPropagationStopped() );
   });

});

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about firefox