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;
}




Advertisements
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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s