$(‘p‘).click( function(){ //this表示当前被点击元素,但是此时我们当做dom对象 window.alert(this.innerHTML); //$(this) 表示当前被点击元素,但是此时我们当做jquery对象 window.alert($(this).html());});
this
原文:http://www.cnblogs.com/sao-di-seng/p/5391077.html