Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery jquery Property

jQuery jquery Property

jQuery Properties jQuery Properties

Example

Output the version of jQuery currently running:

$("button").on("click",function(){

    var version = $().jquery;

    alert("The jQuery version you are running is: " + version);

});

Try it »


Definition and Usage

The string returned by the jquery property contains the jQuery version number.


Syntax

$().jquery


jQuery Properties jQuery Properties