Return to Snippet

Revision: 68376
at January 14, 2015 14:07 by luhonghai


Initial Code
if (typeof jQuery != 'undefined') {
    alert("jQuery library is loaded!");
   
}else{
 
    alert("jQuery library is not found!");
 
}

Initial URL
http://simply-tutorial.com/blog/2010/05/21/how-to-check-if-jquery-library-is-loaded-/

Initial Description
To check if jQuery library is loaded, use the following JavaScript code

Initial Title
Check if jQuery library is loaded

Initial Tags
javascript, jquery

Initial Language
jQuery