Is there a jQuery function that returns the version of jQuery that is currently loaded?
$().jquery; // yields the string "1.4.2", for example
Source: http://jquery-howto.blogspot.com/2009/02/how-to-check-jquery-version.html