Migration von Prototyp zu JQuery
Ich migriere meine js lib vom Prototyp auf jquery. Ich weiß jedoch nicht, wie ich den folgenden Code ersetzen soll:
var utilityMethods = {
autoHide : function(element) {
//...
}
Element.addMethods('SPAN', utilityMethods);
Gibt es eine jQuery-Entsprechung für die Erweiterung des DOM?
Vielen Dank