Side navigation
#5276 closed bug (worksforme)
Opened September 21, 2009 01:37PM UTC
Closed September 21, 2009 02:12PM UTC
Callback function not executing after the specified time
Reported by: | Rashy | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | fadeIn, fadeOut, callback, incorrect duration | Cc: | |
Blocked by: | Blocking: |
Description
I am using a simple snippet like this:
$('#somediv').fadeOut(5000,function(){alert('Was this executed after 5 seconds?');});
I see the alert as soon as the code is executed not after the passed time in milliseconds!
Please let me know if i have done some mistake or is it really a bug !?!
Please close this ticket!
It was a problem with the chaining of elements in the example that i was using and the chained element was being replaced with a new one so fadeOut basically was not being linked to any element, hence no delay with the callback function. Sorry for any inconvenience caused. i <3 jQuery :D