Sometimes we need to find the version of the jQuery library, that is being used in the code or on a website.
Find jQuery Version
jQuery object directly doesn’t provide the version property. At first sight its difficult find but you can easily get it with the following code.
var jQueryVersion = $.fn.jquery;
So jQuery keeps the version numbering and details in the $.fn object of the jQuery. It returns the jQuery version as a string, eg. “2.1.0″.
Its a very small code, but useful when you need to find the version of the jQuery that is being used on the website.
Just try it and see if you can find jQuery version with this.
Find JQuery Versionhttp://www.prowebguru.com/2014/09/find-jquery-version/http://www.prowebguru.com/wp-content/uploads/find-jquery-version.jpghttp://www.prowebguru.com/wp-content/uploads/find-jquery-version.jpg08 September 2014 ProWebGuru Programming & Codingjavascript,jquery,Programming & CodingSometimes we need to find the version of the jQuery library, that is being used in the code or on a website. jQuery object directly doesn't provide the version property. At first sight its difficult find but you can easily get it with the following code. So jQuery keeps the version...Sometimes we need to find the version of the jQuery library, that is being used in the code or on a website. jQuery object directly doesn't provide the version property. At first sight its difficult find but you can easily get it with the following code. <!--INFOLINKS_OFF--> <!--INFOLINKS_ON--> So jQuery keeps the version numbering and details in the $.fn object of the jQuery. It returns the jQuery version as a string, eg. "2.1.0". Its a very small code, but useful when you need to find the version of the jQuery that is being used on the website. Just try it and see if you can find jQuery version with this. ProWebGuru103924578884522256081 [email protected]AdministratorProWebGuru