I’m using jQuery version 1.7.1 from Google CDN and have the following code:
$(menuInstance).delay(2000).removeClass('loading').html(ul);
However the delay is ignored and it moves straight onto my remove class and insert HTML. Any ideas why the delay is being ignored? Thanks
You can’t use
.delaylike that. You need to usesetTimeout.delaycan only be used for animation queues.