Get jQuery version from inspecting the jQuery object

$().jquery will give you its version as a string.


FYI, for the cases where your page is loading with other javascript libraries like mootools that are conflicting with the $ symbol, you can use jQuery instead.

For instance, jQuery.fn.jquery or jQuery().jquery would work just fine:

screen shot for checking jQuery version


You can use either $().jquery; or $.fn.jquery which will return a string containing the version number, e.g. 1.6.2.


$()['jquery']

Invoke console.log($()) and take note about jquery object fields :

  • jquery
  • selector
  • prevObject

enter image description here