Patrik Spieß wrote:
Quote:
script language="javascript"
[...]
// does not work:
//document.links[i].addEventListener("onmouseover", handleEvent,
true);
//document.links[i].addEventListener("onmouseout", handleEvent,
true);
[...]
form name="test" |
The event types are "mouseover" and "mouseout", the third argument should be
`false' (non-capturing listener), and your markup is not Valid.
http://validator.w3.org/ Quote:
[...]
input value="Clear log"
onclick="document.forms[0].elements['log'].value = ''" type="button" |
<script type="text/javascript">
document.write('<input type="button" value="Clear log"'
+ ' onclick="this.form.elements[\'log\'].value = \'\';">');
</script>
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann