is it possible to add to an element type or maybe a css selection an own event function?
something like:
$("a").bind("blub", function() { alert("aaa" + this); });
$("a").get(0).blub();
i want define some functions which are only available for some special elements eg.:
the <div class="myDivContainer">...</div> should have the function available:
$("myDivContainer").get(0).blub();
but on maybe:
$("myDivSeparator").get(0).blub();
this should not work, because it was not defined for it
is this possible?!