Let's forget jQuery for a moment and reword the question slightly... I've written a couple of functions named one and two:
function one() { alert( 'one!' ); } function two() { alert( 'two!' ); } Somewhere else there is code that calls function one. I don't know anything about that code and can't change it. But I want function two to be called automatically every time function one is called, after function one has displayed its alert. How would I do that? If you answer that, you'll know the answer to your question. -Mike > From: debussy007 > > I would like to execute instructions after an event has been fired and > processed: > > $('#int').click(); // I fire click event, callback function > will be executed // Execute other instructions after the > callback fct of the click event has been processed > > The problem is, how do I know when the callback function has > been processed ? > > Thank you for any tips !