How can I forward the this scope refering to a element that is calling event listener?
exemple:
<input type=button value="Foo" id=mybutton>
addEvent('mybutton','touchstart', function(){
if(window['touchmoved']==false)
hover();
});
function hover(){
this.value //undefined
}
Use the JavaScript
Function.callorFunction.applymethods: