Skip to content

Instantly share code, notes, and snippets.

@shearichard
Created April 30, 2013 10:26
Show Gist options
  • Save shearichard/5487872 to your computer and use it in GitHub Desktop.
Save shearichard/5487872 to your computer and use it in GitHub Desktop.
Get information about jQuery and jQuery UI versions in use
var jquiver4sheadbg = $.ui ? $.ui.version || "pre 1.6" : 'jQuery-UI not detected';
alert('jQ UI version : ' + jquiver4sheadbg);
var jqcorever4sheadbg = $().jquery;
alert('jQ version : ' + jqcorever4sheadbg);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment