Simply paste the following into the Developer Tools Console and hit Enter. An alert box will pop up with the version information:
var jQueryVersions = '';
if($().jquery){
// jQuery is loaded
jQueryVersions += 'jQuery = ' + jQuery.fn.jquery + '\n';
}else {
// jQuery is not loaded
jQueryVersions += 'No jQuery\n';
}if($.ui){
// jQuery UI is loaded
jQueryVersions += 'jQuery UI = ' + jQuery.ui.version;
}else {
// jQuery UI is not loaded
jQueryVersions += 'No jQuery UI';
}
alert(jQueryVersions);
Thursday, April 25, 2013
Subscribe to:
Posts (Atom)