I want to make an eventHandler that passes this object as parameter. I tried this
<select id=customer onchange=custChange(this);>
it works fine and get the the dom object on which on change even was called.
But as per my understanding this should not work as first argument is expected as event (not the this
object )in event handler method like below
<select id=customer onchange=custChange(event);>
can we pass any argument(this or event) in eventHandler method provide their name is correct or first argument will
always be considered as event object?