jQuery jqueryProperty

jQuery 属性jQuery Property

Examples

Output the currently running jQuery version:

$("button").on("click",function(){
    var version = $().jquery;
alert("You are running jQuery version: " + version);
});

Try it Yourself »

Definition and Usage

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


Syntax

$().jquery


jQuery 属性jQuery Property

Other Extensions