How to check loaded jQuery UI version?
In this post I will show how to check currently loaded jQuery UI version on the page. Unlike checking loaded jQuery version ( $().jquery ), checking jQuery UI version is a bit different. Checking currently loaded jQuery UI version on the page: // Returns jQuery UI version (ex: 1.8.2) or undefined
$.ui.version
// Alternatively
jQuery.ui.version
You would most probably use it in the if
$.ui.version
// Alternatively
jQuery.ui.version
You would most probably use it in the if
Comments
Post a Comment