Link Element onreadystatechange < link type="text/css" rel="stylesheet" href="http://i3.sinaimg.cn/rny/webface/login/css/login101021_min.css" onreadystatechange="alert(this)"/>
Two pop-ups in IE6/7/8/9 This time, other browsers did not play. Note that only IE supports the onreadystatechange event of the link element. It pops up twice: readyState is loading and complete state. ReadyState can be used to determine the loading status. Let’s try using JS to dynamically create link elements,
IE6/ Still popped up 2 times on 7/8/9. Firefox/Safari/Chrome still doesn't work. Everything seems to be normal, but the amazing thing is that this time it pops up in Opera, indicating that Opera supports the onreadystatechange event when dynamically creating link elements.
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn