Show the jQuery version number

This prints the version of jQuery you’re using:

$.jquery();

Which is handy in situations where you don’t have direct access to the script itself. In Firebug you might do something like this:

console.log('jQuery version: ', $.jquery());

This entry was posted in Musings and tagged . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>