Here is my JsFiddle link. I’m testing that jQuery works, but it doesn’t. Have I made any mistakes? I have checked documentation of jQuery and everything seems to be okay. What’s wrong?
JavaScript
x
5
1
$(document).ready(function() {
2
//insert code here
3
alert("this will flre when the DOM is loaded.");
4
});
5
Advertisement
Answer
Select the library first as given in the image below
Then you can call jQuery as below
JavaScript
1
4
1
$(document).ready(function(){
2
alert("All is well");
3
});
4
Check out this live fiddle http://jsfiddle.net/mayooresan/TTu3C/