<div class="one" onclick="test(_this)">1</div>
function test(_this){
//如这个测试例子
var ele = _this.parentNode,parentNode;
ele.removChild(_this.parentNode)
}
//要定义成这种结构
(function(window,document,$){
var Fn = function(){
}
Fn.prototype={
}
})(window,document,$)
不知道在原型对象中如何拿到那个_this。
不明白你的意思,这两个this不是一个this。onclick里的this应该是指事件对象,你原型链里的this是指fn的实例对象