Felix Geisendörfer schrieb:
> Hey folks,
>
> I've just been struggling with this and thought there is probably an 
> easy answer to it that's unknown to me:
>
> *So the Question is: *I got an anchor element that has an onClick 
> event attached to it (using jQuery) and I need to register a second 
> event that is going to be called before that. Is there a proper/good 
> way to do this?
Take a look at jquery.event (now found in event/event.js). I  guess it 
wouldn't be too hard to get the events from the elements and put your 
handler in front of them (in the same list/array). If that works, you 
could wrap it then as bindFirst() or something similar.

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to