if (jQuery) { alert("jQuery loaded"); }
Thursday, July 23, 2009
Test if jquery has loaded
To test if jquery has loaded, from any JavaScript console do:
Subscribe to:
Post Comments (Atom)
Small tips for everyday geek's life
if (jQuery) { alert("jQuery loaded"); }
1 comments:
Good trick
i've also bookmarklet it to test if jquery is loaded on any page i like.
And if it's not loaded i use the "JQuerify bookmarklet" to load it on that page.
Thanks for sharing those tips ;)
Post a Comment