Code:
<table border="1">
<tr>
<th id="hdr" width="50px"></th>
<td onmouseover="document.getElementById('hdr').innerHTML = '<p>heh</p>'";onmouseout="document.getElementById('hdr').innerHTML = ''";>mouseoverhere
</td>
</tr>
</table>
The above semicolons in red are invalid and cause an error. It should be:
Code:
<table border="1">
<tr>
<th id="hdr" width="50px"></th>
<td onmouseover="document.getElementById('hdr').innerHTML = '<p>heh</p>'" onmouseout="document.getElementById('hdr').innerHTML = ''">mouseoverhere
</td>
</tr>
</table>
Bookmarks