<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Jason</title>
</head>
<script type="text/javascript">
function mytest() {
alert ("test")
}
}
</script>
<style>
<!--
tr { background-color: #FFFFFF}
.normal { background-color: #FFFFFF }
.highlight { background-color: #F0EFEE }
//-->
</style>
<body>
<table border='1' width="537">
<tr onMouseOver=this.className='highlight' onMouseOut=this.className='normal'>
<td width="337">Jason
</td>
<td>
<form method="POST">
<p><input type="text" name="T1" size="20" onkeydown=mytest()></p>
</form>
</td>
</tr>
</table>
</body>
</html>
Thios is my code and i am trying to call the onkeydown function in the textbox .... but it wont execute i think it has something to do with the mouseover event in the row?
In internet explorer 6 it comes up with a error in the status bar how can i get around this?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Jason</title>
</head>
<script type="text/javascript">
function mytest() {
alert ("test")
}
}
</script>
<style>
<!--
tr { background-color: #FFFFFF}
.normal { background-color: #FFFFFF }
.highlight { background-color: #F0EFEE }
//-->
</style>
<body>
<table border='1' width="537">
<tr onMouseOver=this.className='highlight' onMouseOut=this.className='normal'>
<td width="337">Jason
</td>
<td>
<form method="POST">
<p><input type="text" name="T1" size="20" onkeydown=mytest()></p>
</form>
</td>
</tr>
</table>
</body>
</html>
Thios is my code and i am trying to call the onkeydown function in the textbox .... but it wont execute i think it has something to do with the mouseover event in the row?
In internet explorer 6 it comes up with a error in the status bar how can i get around this?