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!
My first professional web development was at a small print shop where I sat in a windowless cubical all day. I suffered that boxed in environment for almost five years before I was able to find a remote job where I worked from home. The first...
Kids these days, I tell ya. All they care about is the technology. The video games. The bottled water. Oh, and the texting, always the texting. Back in my day, all we had was...OK, I had all of these things too. But I still don't get...
I recently came upon an interesting jQuery article about how you can retrieve all external links within a page, build the address of the site's favorite icon, and place the favorite icon along side the link. I've chosen a different approach which...