$(function() { $(document.body).mouseover(function (e) { if (e.target.tagName == "IMG") { alert(e.target.id); } }); });
能在描述的清楚点吗