English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The jQuery property returns a string containing the jQuery version number.
jQuery properties are assigned to the jQuery prototype, usually by its alias $.fn or by reference $().
$().jquery
Either
$.fn.jquery
Get the current version of jQuery running on the page:
$("button").on("click",function(){ let version = $().jquery; alert("You are running jQuery version: ", + version); });Test and See‹/›
Get the current version of jQuery running on the page:
$("button").on("click",function(){ let version = $.fn.jquery; alert("You are running jQuery version: ", + version); });Test and See‹/›