Forum Moderators: open
var table = document.getElementById('myTableId');for (var r=0; r < table.rows.length; r++)
{
for (var c=0; c <table.rows(r).cells.length; c++)
{
table.rows(r).cells(c).onmouseover = myEventHandler;
}
}
Though this will only work in later browsers with a good DOM (IE5+, NN6+ etc)
but another easier solution is provided by MS. they have provided a component which handle event on the table.
but it IE dependent.
check the link:
[msdn.microsoft.com...]
but i prefer to use ur solution instead of MS. bcz i want to be idependent.
thanks all of u.
with Best Regards
Ather Idrees