Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

test if jquery works

/* Answer to: "test if jquery works" */

window.onload = function() {
    if (window.jQuery) {  
        // jQuery is loaded  
        console.log("jQuery has loaded!");
    } else {
        // jQuery is not loaded
        console.log("jQuery has not loaded!");
    }
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: reload page javascript 
::  
Javascript :: javascript replace spaces with dashes 
Javascript :: yarn react-redux 
::  
:: regular expression for numbers and comma only 
:: string split last slash in js get previous results 
Javascript ::  
::  
Javascript ::  
Javascript ::  
::  
Javascript ::  
Javascript ::  
Javascript ::  
::  
Javascript ::  
::  
::  
::  
::  
::  
Javascript ::  
Javascript ::  
Javascript ::  
Javascript :: javascript detect internet explorer 
::  
::  
::  
Javascript ::  
ADD CONTENT
Topic
Content
Source link
Name
7+5 =