Top "Mootools" questions

MooTools is a compact, modular, object-oriented prototypal JavaScript framework designed for the intermediate to advanced JavaScript developer.

Uncaught SyntaxError: Unexpected token :

I am running an AJAX call in my MooTools script, this works fine in Firefox but in Chrome I am …

javascript mootools google-chrome
Comparing date part only without comparing time in JavaScript

What is wrong with the code below? Maybe it would be simpler to just compare date and not time. I …

javascript date comparison mootools
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 (…

javascript internet-explorer events mootools preventdefault
preg_match in JavaScript?

Is it possible in JavaScript to do something like preg_match does in PHP ? I would like to be able …

javascript regex mootools
Simplest way of getting the number of decimals in a number in JavaScript

Is there a better way of figuring out the number of decimals on a number than in my example? var …

javascript jquery numbers mootools decimal-point
Cross domain iframe issue

For say i have a Site called example.com on which iframe is embedded of domain iframe.net, now i …

javascript jquery html mootools
CSS selector for targeting only immediate children and not other identical descendants

I have a nested sortable list that can have items dynamically added or removed and can be nested n-levels deep. …

javascript css mootools css-selectors
Change the options array of a select list

Is there a way to change the options array of an html select list using javascript or mootools? I need …

javascript html mootools
OO JQuery and classes

I'm working on a site and using JQuery for essentially the first time. I've mostly used MooTools for previous projects, …

javascript jquery oop mootools
Select and add class in javascript

Cross Platform if possible, how can I select classes in Javascript (but not Jquery please -MooTools is fine though-) on …

javascript dom mootools