Hi Mike !
Thank you for the effort you bring in each of your answers! I tought at first this example was not at all similar to my situation, but actually it is ! I had an anonym callback function, but I can rather make it a standard function and just call this function. I was just confused because it was a callback but I can actually just call this callback, don't need to fire the associate event... Thank you very much ! Michael Geary-3 wrote: > > > 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 ! > > > -- View this message in context: http://www.nabble.com/Problem-with-events-tp20238073s27240p20244234.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.