[Greasemonkey] Slightly OT: AddEventListener and Forms/keyup/click
Hans Schmucker
hansschmucker at gmail.com
Fri Jan 6 03:00:14 EST 2006
Ooops that's because I briefly switched to using AddEventListener
directly for testing purposes... the correct block should be
for(var i;i<editFieldInputs.length;i++){addEventHandler(editFieldInputs[i],"keyup",inputUpdate);}
for(var i;i<editFieldSelects.length;i++){addEventHandler(editFieldSelects[i],"click",selectUpdate);}
for(var i;i<editFieldTextareas.length;i++){addEventHandler(editFieldTextareas[i],"keyup",textareaUpdate);}
for(var i;i<editFieldbuttons.length;i++){addEventHandler(editFieldbuttons[i],"click",buttonUpdate);}
However that's not the source of the problem as far as I can tell....
(at least it still doesn't work);
thanx anyway :)
More information about the Greasemonkey
mailing list