asked on
$('#jqAOITab').on('click', 'tr:gt(1)', function () {
var c = new IPImpactControl($(this));
});
function IPImpactControl(elem) {
this.ElemTR = elem;
this.attachEvents();
}
IPImpactControl.prototype = {
attachEvents: function () {
var that = this;
[b]addEventListener(this.ElemTR, 'mouseleave', function () { that.Leave(); });
[/b] console.log(this.ElemTR);
},
Leave: function () {
var that = this;
console.log('leave');
//that.one(console.log('leave'));
}
};
ASKER
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.
TRUSTED BY
$(this).on("mouseleave", ".child", function(event) {
// do something
});