I have a matrix of checkboxes and I would like to get the id of the checkBox on which the mouse is over. I set the onMouseOver handler programmatically by the following C# code in the Page_Load procedure:

checkBoxObject.Atributes.Add("onMouseOver","mouseOverHandler(this)")

The client's MouseOverHandler function (JavaScript) is:

Function mouseOverHandler(me)
{
alert(document.getElementById(me.id))
}

When I move the mouse over a checkbox I get an empty alert box. It seems that the function "mouseOverHandler " does not get the firing checkbox in the parameter"me".

The same code works correctly when I change the triggering event from "onMouseOver" to "onClick".
1. Why does it work with "onClick" and dose not work with "onMouseOver"
2. How can I make it to work with "onMouseOver"
Thank you
Hezi