Get the jQuery Version
version property on their main object, providing a quick bit of important information about the framework. The main jQuery object doesn't provide this property, however, so developers need to do a bit more work to get that version information. Here's how to get the jQuery version number for a given jQuery script!
The jQuery version lives within
var v = jQuery.fn.jquery;
You may also use:
var v = jQuery().jquery; // "1.4.2"
jquery property of the
jQuery.fn object provides the version number as a string. Not as easy as
.version access, but provides the jQuery version nonetheless!
You've probably heard the talk around the water cooler about how promises are the future. All of the cool kids are using them, but you don't see what makes them so special. Can't you just use a callback? What's the big deal? In this article, we'll...
CSS cubes really showcase what CSS has become over the years, evolving from simple color and dimension directives to a language capable of creating deep, creative visuals. Add animation and you've got something really neat. Unfortunately each CSS cube tutorial I've read is a bit...
As broadband speed continues to get faster, the web continues to be more media-centric. Sometimes that can be good (Netflix, other streaming services), sometimes that can be bad (wanting to read a news article but it has an accompanying useless video with it). And every social service does...
Frequently asked questions can be super boring, right? They don't have to be! I've already shown you how to create fancy FAQs with MooTools -- here's how to create the same effect using jQuery.
Simply a series of H3s and DIVs wrapper...