Is there a way to find out what version of jQuery is being used by inspecting the jQuery
object? jQuery is dynamically getting added to my page and I cannot see any reference to it in my markup. If I inspect it in my browser's console, it's there.
Is there a way to find out what version of jQuery is being used by inspecting the jQuery
object? jQuery is dynamically getting added to my page and I cannot see any reference to it in my markup. If I inspect it in my browser's console, it's there.
You can use either $().jquery;
or $.fn.jquery
which will return a string containing the version number, e.g. 1.6.2
.