Open aliaspooryorik opened 13 years ago
Detect if jQuery or the jQuery validation plugin exists. Only load if they don't exist. Something like:
if (typeof jQuery=="undefined"){ document.write(""); } if (typeof jQuery.plugins.validate=="undefined"){ document.write(""); }
This is a "nice to have" feature which is largely obsolete if the end developer uses the JSIncludes = false setting, so not important. I've not found a method of doing this which is 100% reliable.
Detect if jQuery or the jQuery validation plugin exists. Only load if they don't exist. Something like:
if (typeof jQuery=="undefined"){ document.write("");
}
if (typeof jQuery.plugins.validate=="undefined"){
document.write("");
}