Recent Features
JavaScript Promise API
While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready? Promises are becoming a big part of the JavaScript world...
Regular Expressions for the Rest of Us
Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...
Incredible Demos
Save Text Size Preference Using MooTools 1.2
Last time posting here I taught you how to change text-size with JavaScript. The problem with using the solution I presented as Ian Lloyd pointed out: Increase the font size, follow a link to another web page on same site and … back...
jQuery Chosen Plugin
Without a doubt, my least favorite form element is the
SELECT
element. The element is almost unstylable, looks different across platforms, has had inconsistent value access, and disaster that is the result ofmultiple=true
is, well, a disaster. Needless to say, whenever a developer goes...