2016-04-14 17 views
0

ためのプログレスバー/読み込みを表示します。私はRadioButtonList & DropDownListを選択する際にプログレスバー/ロードが表示されたい。 RadioButtonList & DropDownListAutoPostBackです。ASP.NETは、私がASP.NET/C#アプリケーションを作成していRadioButtonListの&ドロップダウンリスト

私はRadioButtonList & DropDownListためプログレスバー/ロードを表示する必要があります。

ありがとうございます。

function ShowProgress() { 
     setTimeout(function() { 
      var modal = $('<div />'); 
      modal.addClass("modal"); 
      $('body').append(modal); 
      var loading = $(".loading"); 
      loading.show(); 
      var top = Math.max($(window).height()/2 - loading[0].offsetHeight/2, 0); 
      var left = Math.max($(window).width()/2 - loading[0].offsetWidth/2, 0); 
      loading.css({ top: top, left: left }); 
     }, 200); 
    } 
    $('form').live("submit", function() { 
     ShowProgress(); 
    }); 

答えて

関連する問題