Having an issue in Internet Explorer, works perfectly in Firefox.
There is a javascript function that updates the UI (screen content) before an AJAX call. However, it does not update the UI unless an alert box prompt is used. Without the alert box, the UI is not updated before the AJAX call but after. Even when called before the AJAX function
When using the following code, the UpdateUI() function does not update the UI at all before the AJAX call, instead updating it after. I need it to update the UI before the AJAX call (I am actually showing a loading bar before the AJAX call)
UpdateUI(); // Javascript function that updates the inner HTML of a DIV
// AJAX function call here with Async = false
However, if I use the following code, the UpdateUI() function does update the UI before the AJAX call but requires an alert prompt. I do not want to use an alert
UpdateUI(); // Javascript function that updates the inner HTML of a DIV
alert('hello');
// AJAX function call here with Async = false
Works well on Firefox, but encountering issues on Internet Explorer 8