点击对象的获取 $("body").click(function(e){ var clicked = $(e.target); clicked.css("border","1px solid white"); alert(clicked[0].id); });