Sim*_*ger 9 jquery asynchronous document-ready
我想知道jQuery的$(document).ready()函数是否总是等待异步加载的脚本:
HTML
<script async src="...">
Run Code Online (Sandbox Code Playgroud)
JavaScript的
$(document).ready(function(){
//is the script always loaded at this point?
});
Run Code Online (Sandbox Code Playgroud)
我在jQuery文档中找不到任何对此假设的确认.是否存在明确规定的来源?