jQuery jquery Property
THE WORLD'S LARGEST WEB DEVELOPER SITE

jQuery jquery Property

❮ jQuery Properties

Example

Alert the current running jQuery version:

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

Definition and Usage

The jquery property returns a string containing the jQuery version number.


Syntax

$().jquery

❮ jQuery Properties