Pascal Lindelauf Pascal Lindelauf - 1 year ago 99
jQuery Question

Determining if JQuery effects are still executing

For running Cucumber specs with Capybara and Selenium, I need to be able to determine if certain JQuery effects have completed before I can continue with the next step. Is there a generic way to determine if JQuery is still executing effects (e.g. something like

$ == 0

Answer Source

You can check if element is used by some animation plugin/feature via checking :animated selector

according to this:

like this:


more info: How do I find out with jQuery if an element is being animated?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download