Processes the ajax call when the page has entirely loaded
If you need to add long-to-get contents on your pages (statistics, remote contents etc), you may slow down your website browsing. A common solution is to load those data asynchronously.
This form looks like this:
<div id="wait" style="display:none;"> <img src="../img/wait.gif" alt="Please wait"/> </div> <div class="domajax ready" data-endpoint="event-ready-load-handler.php" data-replace="#output" data-replace-by="#wait" data-output="#output" ></div> <div id="output"></div>
This form looks like this:
<div class="domajax ready" data-endpoint="event-ready-poll-handler.php" data-output="#output" data-poll="" data-delay="1000" ></div> <div id="output"></div>
All the documentation at a glance