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

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.