When I add something of the class "myClass" I want to call a function on this element.
It would be something in the lines of:
jQuery(".error_message").live("load",function(){
alert("test"+this);
});
... except this doesn't exist.
What's the best way of doing this?