feras_wilson
10-08-2005, 10:57 AM
Hi!
Why this dont work??
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny sida 1</title>
<script>
function onmm() {
thefield.onmouseover="thefield.style.backgroundColor='#ffff00'"
}
</script>
</head>
<body>
<table border="1" width="100%" id="table1">
<tr>
<td id="thefield">The Field</td>
<td> </td>
</tr>
</table>
<a href="#" onclick="onmm()">Change OnMouseOver</a>
</body>
</html>
Please Help
Why this dont work??
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny sida 1</title>
<script>
function onmm() {
thefield.onmouseover="thefield.style.backgroundColor='#ffff00'"
}
</script>
</head>
<body>
<table border="1" width="100%" id="table1">
<tr>
<td id="thefield">The Field</td>
<td> </td>
</tr>
</table>
<a href="#" onclick="onmm()">Change OnMouseOver</a>
</body>
</html>
Please Help