KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am attempting to check if my Jquery Library is loaded onto my HTML page. I am checking to see if it works, but something is not right. Here is what I have: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="/query-1.6.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ if (jQuery) { // jQuery is loaded alert("Yeah!"); } else { // jQuery is not loaded alert("Doesn't Work"); } }); </script>
Tags (comma-separated)
Save Edits
Cancel