jquery event to execute only when a particular event has finished
Posted
by Lyon
on Stack Overflow
See other posts from Stack Overflow
or by Lyon
Published on 2010-03-30T14:39:08Z
Indexed on
2010/03/30
14:43 UTC
Read the original article
Hit count: 372
jQuery
Hi,
$('#div1').focus(function () {
callAnotherFunction();
$(this).animate({});
}
I'm trying to make $(this).animate({});
execute after callAnotherFunction();
has completed. Currently, both run at the same time. I've timed to use delay(), setTimeout() to no avail too. Is there anyway this can be done?
Thanks!
© Stack Overflow or respective owner