Bug Tracker

Changes between Initial Version and Version 1 of Ticket #8489, comment 1


Ignore:
Timestamp:
Mar 10, 2011, 6:09:48 AM (10 years ago)
Author:
trusktr
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8489, comment 1

    initial v1  
    1 How about
     1I guess
    22
    33{{{
    4 $(this).delay(5000).queue( function(){
     4$(this).delay(5000).queue( function(next){
    55    non_jquery_function();
    6     $(this).dequeue();
     6    next();
    77});
    88}}}
     
    1010?
    1111
    12 Is that the way to do it? If so, I'm not able to achieve my result still. :/
     12Is the way to do it. However, it'd still be convenient to just use a callback within .delay().