Im using a jQuery plugin and separately im writing my own jQuery which is initialise on dom ready. If both the plugin and my code do something on an event (say a div is clicked) how can I tell which code is run first?
Also, is there a way I specify which code I want to run first? Thanks
The API says
Event handlers bound to an element are called in the same order that they were bound.http://api.jquery.com/on/