<a href=""></a>
<textarea></textarea>
<object></object>
<img src="" />
<div id="content">content</div>
<div class="test">test</div>
和 javascript
oj = ['a', '#content', '.test'];
oj.forEach(function(val) {
val.onmouseover = function() {
alert("Mouseouver !!!");
}
});
当我将鼠标悬停在此对象上时,结果不警报,如何解决?