JQTOUCH - Anytime loading occurs, add a loading class?

Posted by nobosh on Stack Overflow See other posts from Stack Overflow or by nobosh
Published on 2010-04-14T02:19:06Z Indexed on 2010/04/14 2:23 UTC
Read the original article Hit count: 809

Filed under:
|
|

Hi, I'm using JQTOUCH and in JQTOUCH several of the links are being loading via AJAX and then sliding in. The problem is that there is no loading indication provided to users.

I'd like a way to add a Loading class with an AJAX spinner, when ever the an ajax call is loading, and have the class removed when the loading is done, and the page is displayed.

Any ideas?

© Stack Overflow or respective owner

Related posts about jqtouch

Related posts about iphone