I have created a class like so:
function MyClass()
{
var myInt = 1;
}
MyClass.prototype.EventHandler = function(e)
{
alert(this.myInt);
}
Unfortunately, the this
is the triggered event (in my casss an tag), and i can't access the class properties.
Any suggestions?