Delving into Coldfusion, jQuery, HTML5 and Linux

Here's a little snippet for checking if a plugin is loaded at run-time.

if( $.isFunction( $.fn.myPluginFnName) ){
    $("a").myPluginFnName({ //my settings });
}

§159 · March 9, 2010 · Uncategorized · · [Print]

Leave a Reply

You must be logged in to post a comment.