Menu
I have a table displaying MySQL query results…many of them…in a standalone iFrame within a static page.
What I want to do is use Javascript to change the backgroundColor of the table row onmouseover. I have this:
[code]
<tr id=”myRow”><td>data</td><td>data</td></tr>
What I’m trying to do is within each table data cell:
[code]
<td><a onMouseover = “document.frames[“myFrame”].getElementById(“myRow”).style.backgroundColor = ‘blue’;”>link</a>
I can’t find a way to access the ID element within the same iFrame as the mouseover call. Any ideas?