- jQuery - Home
- jQuery - Roadmap
- jQuery - Overview
- jQuery - Basics
- jQuery - Syntax
- jQuery - Selectors
- jQuery - Events
- jQuery - Attributes
- jQuery - AJAX
- jQuery CSS Manipulation
- jQuery - CSS Classes
- jQuery - Dimensions
- jQuery - CSS Properties
- jQuery Traversing
- jQuery - Traversing
- jQuery - Traversing Ancestors
- jQuery - Traversing Descendants
- jQuery References
- jQuery - Selectors
- jQuery - Events
- jQuery - Effects
- jQuery - HTML/CSS
- jQuery - Traversing
- jQuery - Miscellaneous
- jQuery - Properties
- jQuery - Utilities
- jQuery Plugins
- jQuery - Plugins
- jQuery - PagePiling.js
- jQuery - Flickerplate.js
- jQuery - Multiscroll.js
- jQuery - Slidebar.js
- jQuery - Rowgrid.js
- jQuery - Alertify.js
- jQuery - Progressbar.js
- jQuery - Slideshow.js
- jQuery - Drawsvg.js
- jQuery - Tagsort.js
- jQuery - LogosDistort.js
- jQuery - Filer.js
- jQuery - Whatsnearby.js
- jQuery - Checkout.js
- jQuery - Blockrain.js
- jQuery - Producttour.js
- jQuery - Megadropdown.js
- jQuery - Weather.js
jQuery jquery Property
The jquery property in jQuery is used to access the version number of the jQuery library that is currently being used. It is a read-only property that returns a string representing the jQuery version (meaning it cannot be modified).
Syntax
Following is the syntax of jQuery jquery property −
$().jquery
Parameters
Here is the description of the above syntax −
- jquery: The property that holds the version number of the jQuery library.
Example
In the following example, we are using the "jQuery jquery Property" to get the current running jQuery version −
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
var version = $.fn.jquery;
$("p").text("Current Running jQuery Version: " + version);
});
</script>
</head>
<body>
<p>jQuery version: </p>
</body>
</html>
After executing the above program, It returns "3.7.1" as current running jQuery version.
jquery_ref_properties.htm
Advertisements