Working with Events, part 2
In my last article, I described the common problem of events seemingly ceasing to work for new elements added to a document, whether by some form of ajax or by DOM modification. We examined one way to...
View ArticlePeeling Away the jQuery Wrapper and Finding an Array
If you haven't poked around under the hood of jQuery, you might not be aware that when you pass the jQuery function an expression or DOM element it places these elements (or, possibly a single element)...
View ArticleImplementing Prototype’s Array Methods in jQuery
One of the biggest concerns I've heard mentioned from users of the Prototype library about jQuery is the lack of support for various array methods. The robust features Prototype provides for arrays is...
View ArticleMaking a jQuery Plugin Truly Customizable
Most if not all of the jQuery plugins out there have some level of customization. But very few of the plugin authors have mastered the very particular art involved. Achieving the "optimum level" of...
View ArticleMerging jQuery Deferreds and .animate()
Editor's Note: This article originally appeared on danheberden.com. jQuery’s .animate() method, and the shorthand methods that use it, are fantastic tools to create animations. Creating animations that...
View ArticleUsing jQuery’s .pushStack() for reusable DOM traversing methods
The .pushStack() method has been in jQuery since before version 1.0, but it hasn't received a whole lot of attention outside of core developers and plugin authors. While its usefulness may not be...
View ArticlejQuery.parseJSON vs JSON.parse
JSON.parse() and jQuery.parseJSON(), both are used to parse a JSON string and returns resulting JavaScript value or object described by the string. jQuery.parseJSON() is available only when jQuery...
View Article3 jQuery Snippets for Handling CSS Classes
CSS isn't really a very dynamic or flexible language, but with the help of jQuery, it's easy to make certain styles dynamic and changeable with just a few simple lines of code. What follows are 3...
View ArticleHow to Implement Automatic Scrolling with jQuery
Automatic scrolling is a feature that causes a web page to scroll down automatically at a predetermined and configurable rate. This is quite a useful feature for websites that contain long articles,...
View ArticleHandling JSON with jQuery
JSON (JavaScript Object Notation) is a way to store information in an organized manner. It is the preferred data-interchange format as its shorter, lightweight, human-readable and requires no tags like...
View ArticleWhy Technical Education Is Necessary Nowadays
For the longest time, formal education was mostly associated either with humanities or with fields like engineering, medicine, and mathematics. The idea one got when hearing the expression “an...
View ArticleCan You Make Video Games with JavaScript?
There was a time when JavaScript was thought to be merely a supplement to HTML that helped build the web. Now, it’s considered one of the most versatile programming languages. The language can be...
View Article
More Pages to Explore .....