2016-09-16 123 views

回答

0

能使用純JS,這很簡單:http://jsfiddle.net/qHfJD/76/

<script> 

var myDiv = document.getElementById('foo'); 

myDiv.onmouseout = function() { 
alert('left'); 
} 

</script>