At the old method, I place onFocus() event of all the tags like this:
<input id="input1" type="text" onFocus="func(this)">
to get the source (sender) of object.
But I think this is not a good design style for some case,
for example, I have fifty inputs in a HTML and half of it should run a
function when focus.
How to write this task better?