After the dom is loaded, it is executed. I have never understood it. Based on my lack of understanding of the logic of some methods on the Internet, I read the article "Jquery Source Code Research (ready function)" and then wrote the following code myself (detailed description has been given)