Dave Methvin schrieb:
>> I'm wondering what is the best way to concatenate
>> (callback) functions.
>
> Create a custom event and trigger that. That way, you don't even need to
> pass in a callback; just trigger("yourevent", [eventargs]) on the element
> and jQuery does all the work calling the handlers for you. If there isn't a
> natural target element for the event, say it's global in nature, you can use
> document.
Thats a good idea. Although I have to code a branch, if callback exists
call this one else call a default handler. I think I can just overwrite
the default action...
Thanks for the hint, Dave, valuable as always!
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/