.jquery
S2C Home « Core & Internals « .jquery
The jQuery version number.
Description
The .jquery
property holds a string containing the jQuery version number.
Syntax
Signature | Description |
---|---|
.jquery | String containing the jQuery version number. |
Parameters
None.
Return
A String
object.
.jquery
ExampleTop
A string containing the jQuery version number.
$(function(){
$('#btn1').on('click', function() {
var version = $().jquery;
alert('Running version ' + version + ' of jQuery');
});
});