jquery loading gif before data displays

I have a section of code that displays data on the page. I also have an animated gif that I want to show briefly (a second or two) before the prices are displayed.

Any ides?
$("#tbltotal").html("£"+ totalshown);

Open in new window

Who is Participating?
Got it?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.