Bug Tracker

Modify

Ticket #9668 (closed bug: invalid)

Opened 2 years ago

Last modified 23 months ago

Delay function

Reported by: joris.vr@… Owned by: joris.vr@…
Priority: undecided Milestone: 1.next
Component: effects Version: 1.6.1
Keywords: Cc:
Blocking: Blocked by:

Description

Hi,

The delay function isn't working properly! Javascript seems to ignore it!

I checked it in the docs of jQuery and there is doesn't work either!

Joris

Change History

comment:1 Changed 23 months ago by rwaldron

  • Owner set to joris.vr@…
  • Status changed from new to pending
  • Component changed from unfiled to effects

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, I've created this boilerplate:  http://jsfiddle.net/rwaldron/da3nM/ Open the link and click to "Fork" in the top menu.

comment:2 Changed 23 months ago by joris.vr@…

  • Status changed from pending to new

This should be working:  http://jsfiddle.net/m4dv5/

However, in stead of waiting the 4000 ms, the text is changed after 0 ms.

comment:3 Changed 23 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

The .delay() method delays *queued* operations such as animation effects. It does not delay non-queued methods such as .html().

 http://api.jquery.com/delay/

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.