Better HN
topnewbestaskshowjobs
Log inSign up

ivquatch

1 karma · joined Jan 20, 2011 (15y ago) · 1 submissions

Submissions

comment 15y ago · link · parent

Probably not the best way to do it, but I've done something like this before.

els[i].addEventListener("click",(new function(){var this._i = i; function message(){alert(_i);}}).message);