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)


ADVERTISEMENT
ADVERTISEMENT


Comments and Discussions!




Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.