Being new to JQuery I have been hunting around to see how I can show a wait image to the user upon the loading of a page.
the page is simple, user lands on the page, and selects several values and then selects a submit button.
Submits the request to the back end and then the results are returned and then displayed. I am able to show a wait image upon the select button, but when the page is rendering the results using displaytag there is no image.
I tried the following:
<script type="text/javascript">
$(document).ready(function() {
$.blockUI({ message: '<h3><img src="../images/ajax-loader.gif" /> We are loading your request. Please be patient.</h3>' });
});
$(window).load(function() {
$.unblockUI();
});
</script>
But that did not seem to work. The image and message show up at the very end not during the rendering of the page.
Using IE if that matters.