Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery ProgressBar and IE8

I use jQuery progressbar in AJAX sync request. The Progressbar works fine in FireFox, but it always shows 100% in IE8.

This is my code:

var selectRows = $('#rowed3').getGridParam('selarrrow');
$.each(selectRows,function (index,id) {
  $.ajax({                            
          url:'addSign',
          success: function (result) {                                                 
        $("#progressbar").progressbar('option','value',currPercent);
         },
          async:false,
          data:{
          'id':id,
          'details':sign
               },
       type:'post'
});

When I add

alert('111')

before

$("#progressbar").progressbar('option','value',currPercent);

I have seen Progressbar change its' state.

Why does it not work in IE?

Sorry, but I have skipped some piece of code. I think it's important.

like image 581
user1053507 Avatar asked Dec 20 '25 07:12

user1053507


1 Answers

Is Internet Explorer set in Quirks mode? Because usually that messes up the progress bar.

like image 117
Mattias Avatar answered Dec 24 '25 02:12

Mattias



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!