Is there a jQuery function that returns the version of jQuery that is currently loaded?
try
alert($().jquery)