Quantcast
Viewing latest article 3
Browse Latest Browse All 9

Answer by trante for How can I check if a jQuery plugin is loaded?

for the plugins that doesn't use fn namespace (for example pnotify), this works:

if($.pluginname) {    alert("plugin loaded");} else {    alert("plugin not loaded");}

This doesn't work:

if($.fn.pluginname)

Viewing latest article 3
Browse Latest Browse All 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>