javaScript中调用自身的prototype方法?
function myClass(){
this._this = this;
return this;
};
myClass.prototype.toAlert=function(){
document.write("<a href='javascript:void(0);' onclick='" + this._this + ".callback();'>单击调用callback</a>"); <!-- 这一行怎么调用callback()方法?-->
};
myClass.prototype.callback=function() {
alert("blueDestiny, never-online");
};