Didn't know about it, thanks :) But problem is different: I am sending two requests, one after another. I'm modifying DOM below spinner after each request and I don't want user to see this. I have to use callbacks, so I don't know how much request will last. If it is too short - user sees some flickering before spinner fades in.
With solution I use now it works, but user has to wait additional second before request starts, just to put spinner on place... Not sure I am understandable, sorry for my bad English. Thanks for Your help, Robert
