-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>