Check if jQuery plugin is loaded
3/27/2009
The previous post checked if jQuery is loaded, now it is time to check if particular jQuery plugin is loadedChecking if plugin exists or if plugin has been already loaded is useful if you are writing your jQuery code that depends on that plugin.
Here is how to check if some jQuery plugin is loaded or not: if(jQuery().pluginMethod) {
//jQuery plugin exists
} else {
//jQuery plugin DOES
Similar articles
JQuery HowTo
Check if jQuery plugin is loaded
The previous post checked if jQuery is loaded, now it is time to check if particular jQuery plugin is loaded. Checking if plugin exists or if plugin has been already loaded is useful if you are writin...
JQuery HowTo
How to check loaded jQuery UI version?
In this post I will show how to check currently loaded jQuery UI version on the page. Unlike checking loaded jQuery version ( $().jquery ), checking jQuery UI version is a bit different. Checking cur...
9Lessons
How to Create a Jquery Plugin
This post is explains how easy you can built a jQuery plugin, we made a simple plugin called LinkColor. It makes your website anchor links so colourful and pretty beautiful, Just few line of code an...
JQuery HowTo
jQuery Twitter plugin update
A lot of users requested a demo for my jQuery Twitter plugin. It has been a while since I updated the plugin, so I downloaded the latest version and while looking thought the code found couple of bugs...