Jquery Ajax loading image

   $(document).ready(function () {
        $(“#loadingDiv”).hide();
        $(‘#loadingDiv’)
           .ajaxStart(function () {
           (this).show();
           })
           .ajaxStop(function () {
           $(this).hide();
           });
        });


<div class=”modalTabelGray” id=”loadingDiv” style=”height: 749px; display: block;”>
.modalTabelGray {
    background-color: #7E7E7E;
    height: 100%;
    margin-left: -6px;
    margin-top: -5px;
    opacity: 0.6;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 100000;
}




This entry was posted in Ajax, jQuery and tagged , . Bookmark the permalink.

2 Responses to Jquery Ajax loading image

  1. Hae Strebe says:

    I’ve been browsing on-line greater than 3 hours as of late, but I never discovered any fascinating article like yours. It’s lovely value sufficient for me. Personally, if all webmasters and bloggers made good content material as you did, the web will be a lot more useful than ever before. “Learn to see in another’s calamity the ills which you should avoid.” by Publilius Syrus.

  2. Norma Coreil says:

    Enjoyed examining this, very good stuff, thankyou . by Friedrich Wilhelm Nietzsche.

Leave a comment