What is the best way to check wether jQuery script has been included to the page? I have one, but I don't think it's elegant.
try { $("body") } catch(e) { /* doesn't exist */ }
What is the best way to check wether jQuery script has been included to the page? I have one, but I don't think it's elegant.
try { $("body") } catch(e) { /* doesn't exist */ }