Is there a jQuery function that returns the version of jQuery that is currently loaded?
I'm not sure how many versions of jQuery this exists in, but a jQuery object has a jquery property that stores the version.
jquery
alert( $().jquery );
Will alert 1.4.2 if you're using that version.
1.4.2