-2
如何获取哪个元素在文档中具有最大重量或需要更多时间加载?在这种情况下,它是图像..如何使用Jquery获取文档中最重的元素?
<html>
<body>
<p>This is light text</p>
<p>This is the heavy text </p>
<img src="http://www.lorempixel.com/400/400" alt="100" width="100" height='100' />
</body>
</html>