jQuery code snippets
/* Test if jQuery is loaded */ if (typeof jQuery != "undefined") { alert("jQuery is loaded!"); } else { alert("Error loading jQuery."); }