Quantcast
Channel: All your code are belong to us
Viewing all articles
Browse latest Browse all 43

How to check jQuery version on a website?

$
0
0

This is just a quick tip how to find out which version of jQuery is loaded.
It can come in handy for example when you’re developing a script for an existing site and you need to find out which version of jQuery they use. Of course you can always just look in the HTML code, but this method is not always 100% reliable.

$().jquery;
// Returns "1.7.1"

or

jQuery.fn.jquery;
// Returns "1.7.1"

Viewing all articles
Browse latest Browse all 43

Trending Articles