if(jQuery) {
// jquery is loaded
}
if($) {
// jquery is loaded
}
or
if (jQuery != null) {
// jquery is loaded
}
if ($ != null) {
// jquery is loaded
}
On Thu, Jan 14, 2010 at 11:30 PM, zendog74 wrote:
> I am trying to only load jquery and jqueryui if they do not already
> exist. If they do
I am trying to only load jquery and jqueryui if they do not already
exist. If they do exist, then I load a bunch of plug-ins used by the
app. However, the below is not working and I have no idea why. Can
anyone provide some insight?
if (typeof jQuery == 'undefined') {
console.log("loading
2 matches
Mail list logo