की जाँच करें अगर jquery स्थापित किया गया है
if (typeof jQuery == "undefined") {
alert("JQuery is not installed");
} else {
alert("JQuery is installed correctly!");
}
अगर परीक्षण jquery काम करता है
/* 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!");
}
}