jQuery Tutorial

jQuery Examples

jQuery Practice

Get jQuery version from inspecting the jQuery object

In this tutorial, we'll understand how we can get the jQuery version by inspecting the object?
Submitted by Pratishtha Saxena, on July 22, 2022

We can get the jQuery version by jQuery object. When an object is declared, we can use that object to find the jQuery version.

Firstly, create a simple webpage with a jQuery object. Now, when the webpage is loaded on the browser, then open the console window and write the command to get the current jQuery version.

To get the version by using jQuery object we'll write the command:

Get jQuery version (1)

Where new_obj is the jQuery object.

Some other ways by which we can get the jQuery version (without using object) are:

Get jQuery version (2)

Comments and Discussions!

Load comments ↻

Copyright © 2024 www.includehelp.com. All rights reserved.