ldbkutty
asked on
onmouseover event to change text color in a JS created table
I have a HTML table with many rows! When I mouseover "td", I want to change the text color inside the "td".
Problem is that the HTML table is designed in Javascript using:
a = document.createElement("ta ble")
a.id = "my_tbl";
How is it possible to add onmouseover event for "td" of this table "my_tbl" that changes the "td's" text color ?!
Quite urgent.. Thanks :)
Problem is that the HTML table is designed in Javascript using:
a = document.createElement("ta
a.id = "my_tbl";
How is it possible to add onmouseover event for "td" of this table "my_tbl" that changes the "td's" text color ?!
Quite urgent.. Thanks :)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
where are you adding the cells? in that code you can use onMouseOver for the cells