Can anyone see what is wrong with this code. It works but it generates an "error on the page" message under IE.
Clive
Code:
<html><body><head>
<script type="text/javascript">
function selectall() {document.f.a=document.f.a.select()}
</script></head><body><form name="f">
<input name="a" type="text" size="32" value="some text" /><br />
<input type="button" value="Select All" onclick="selectall()" />
</form></body></html>
Clive