uidesigner
uidesigner

Reputation: 256

How can I find out what jQuery version I’m using?

My page loads jQuery. Is there any way to find out which version of jQuery that is?

Upvotes: 20

Views: 18504

Answers (4)

Cristiano Fontes
Cristiano Fontes

Reputation: 5088

Just open Chrome Console or Firebug and type while in your page

$().jquery;

Upvotes: 6

Vincent Thibault
Vincent Thibault

Reputation: 611

You can know the version by using:

jQuery.fn.jquery

Upvotes: 1

Sudhir Bastakoti
Sudhir Bastakoti

Reputation: 100195

you can do:

alert($().jquery);

Upvotes: 1

dsgriffin
dsgriffin

Reputation: 68616

You can use either $().jquery; or $.fn.jquery

Which will return a string containing the version number, e.g. 1.6.2.

Upvotes: 33

Related Questions