In old jquery, you can add a function to the top of the document. Here's how it is:
$.readyList.unshift(function () {
Now it is impossible. Is there any other way to move one function to the beginning? Our ASP.NET pages are made up of different controls, all of which have their own document.ready, so it's currently impossible for me to change this. But I need one function to run in front of everyone else.
Is there another βcleanβ way to do this?
source share