W
W
Waniman2021-07-29 12:45:13
JavaScript
Waniman, 2021-07-29 12:45:13

In Mozilla, the $.load() event fires before the $.ready() event. How to fix?

In the Mozilla browser, the jQuery.load event fires before the jQuery.ready event, although it should be the other way around, this happens because the files are cached and the jQuery.load event does not wait for them to load, as it should according to the documentation and fires earlier. How can this bug be fixed so that load only works after ready?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question