How to bind an event to multiple items? I need for example to add a click event to several already existing controls, like in jQuery
$(".element").click(function(){ if(this.что_то_там){ } })
and how to use a reference to the current this object inside a function?