给你一个例子,你就知道了。
function VideoControl(){ var self = this; document.getElementById('xx').onload = function(){ alert(this.id + "," + self.id); } }
将当前的执行环境变量,传递给vc_this