title: Javascript updates UI only when alert() is used in internet explorer with AJAX
body: <p>I'm having a problem in Internet Explorer, it works fine with Firefox.</p>
  
  <p>I have a java script function that updates UI (Screen Content) which is called before AJAX function. But it doesn't update UI until an alert box prompt is used. Without alert box it doesn't update UI before AJAX function. It updates UI after AJAX function even if it is called before AJAX function</p>
  
  <p>If i use following code, the UpdateUI() doesn't update the UI at all before AJAX function call, it updates UI after AJAX function call. I want it to update UI before AJAX function call (actually im displaying a loading bar before AJAX call)</p>
  
  <pre><code>UpdateUI(); // java script function, it just updates inner HTML of a DIV
  
  // AJAX function call here with Async = false
  </code></pre>
  
  <p>But If i use following code, the UpdateUI() update the UI before AJAX function call, but this method includes an alert prompt. I don't want to use alert</p>
  
  <pre><code>UpdateUI(); // java script function, it just updates inner HTML of a DIV
  
  alert('hellow');
  
  // AJAX function call here with Async = false
  </code></pre>
  
  <p>It's working fine in Firefox but not in Internet Explorer 8</p>