0

I wonder if any of you guys knows how to show an ajax loading image on a jQuery $.ajax call, only if that call is taking more that a specific time. Thanks for any help! cheers

1 Answer 1

1

I think Throbber can solve your issue: http://plugins.jquery.com/project/throbber

It's a jQuery plugin that handles Ajax loading animations and it has this option - you can set the delay.

Or you can set the delay manually using setTimeout() before displaying loading animation.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.