4
github
8y

Rant!!!!!
When you realise CHROME and FIREFOX needs different JQuery syntax to work with AJAX...
#respectForAllWebDevs #newbieWebDev

Comments
  • 3
    I use the same syntax for both uhm...
  • 0
    When you say different syntax, what exactly do you mean?
  • 1
    I wrote this comment to check what happen next...
  • 2
    Yeah, I also thought part of the appeal of JQuery was that it took care of all that for you...
  • 1
    Just resolved... Seems the problem was with the submit button. For event.preventDefault() we have to pass event as a function argument to work in Firefox. Not required for Chrome. Example: selector.onClick(function(event){ event.preventDefault(); });
Add Comment