I have this little bit of code on my (mvc) site to get a piece of info through Ajax. No problem so far, at least in all browsers, but one; Firefox doesn't recognize this and goes directly to the default controller instead of the Ajax controller.
$('.navbar li a').click(function(e) { event.preventDefault();
I have been searching, but I really don't understand why Firefox is such a pain in the ass. Can someone please help me?