Jquery ui async ajax request given for false reasons

I have a problem with our favorite IE browser (all versions) and the ui control tab from jquery. I am loading my tab content using the ajax option. The problem is that I have to do this synchronously, so every request after another calls an asynchronous call. doesn't work for me or just really buggy. But it's not a problem. The problem is that IE does not apply ui-state processing before blocking it every time jquery code is executed. IE seems to behave differently than all other browsers. This is a kind of weirder reason when the request is completed with a processed class that is applied to the tab element, just to disappear immediately, because everything is done.

Does anyone know what this could be? known problem?

Btw, it works fine when I set the async parameter to true.

Tee

+3
source share
1 answer

Yes, that's how IE works. Most browsers work as follows:

while (stillRunning()) {
    renderDOM();
    getNextInputEvent();
    runScripts();
}

, DOM . IE DOM ( () () ), . DOM , , : , , IE, DOM, , script ( , script, ).

, , script -running, .

- ; .

+3
source

Source: https://habr.com/ru/post/1719356/


All Articles