jQuery plugin maken

Een jQuery plugin maak je bijvoorbeeld op de volgende manier
$.fn.greenify = function() {
this.css( "color", "green" );
};
//test:
$( "a" ).greenify();

.holdReady
.holdReady zet het ready event in de wacht totdat de plugin is geladen
$.holdReady( true );
$.getScript( “myplugin.js”, function() {
$.holdReady( false );
});