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) { if (inp.getValue() != ”) { allFilled = true; } }); if (!allFilled) { $$(“.errormsg”).setStyle(‘display’, ”); return; } else { $$(‘.defaultText’).each(function (input) { if (input.getValue() == input.getAttribute(‘title’)) { input.setAttribute(‘value’, ”); } }); } this.send({ onSuccess: function () { $(‘page_1_table’).setStyle(‘display’, … Read more