Skip to main content

All Questions

Tagged with
208 votes
11 answers
216k views

event.preventDefault() function not working in IE

Following is my JavaScript (mootools) code: $('orderNowForm').addEvent('submit', function (event) { event.preventDefault(); allFilled = false; $$(".required").each(function (inp) { ...
sv_in's user avatar
  • 14k
2 votes
1 answer
606 views

mootools | Open/close popup menu and outer click event

I'm using mootools and working on popup menu: document.getElement('.cart a').toggle( function() { this.getParent('div').removeClass('open'); this.getNext('.cart_contents').hide(); ...
XTRUST.ORG's user avatar
  • 3,374
2 votes
1 answer
780 views

Mootools: how fired a function (or more functions) after the end of a tween or morph FX or other event?

as title, I would to knoe how can I do to fired a function after the end of an event. Thanks!
Donovant's user avatar
  • 3,139