What I'm trying to do is to display a loading screen while an ajax request executes. I have a page that is fairly long with several tables worth of data and the sorting/pagination of each table is handled by ajax requests.

I'd like to have a css div that is displayed in the center of the browser window when a user selects an operation that kicks off an ajax request.

What I have thus far is a div that shows up in the...