I know this is a simple task and a very common problem, but I can’t figure out how to do this! It seems like a five minute task, but I spent more than an hour ... I, stupid, know.
But nonetheless, please help me implement this.
I have a container container div
<div class="wrapper_div">
And CSS style
.wrapper_div{ margin: auto; width: 1000px; height: 545px; }
It looks very simple, but I cannot overlay this div when I execute an AJAX request.
I just need to show the loader animation (gif) in the center of this div block and overlay this block on a gray background, for example.
That all I want is please help. thank you
EDIT
Sorry for this explanation, the problem is not in AJAX, but in the css and html layout, I can’t figure out how to create the right layout
source share