Hallo Forum,
warum zeigt der Internet Explorer mir bei folgendem Minimalbeispiel
<html>
<head>
<script type="text/javascript">
[code lang=javascript]
function Test() {
alert(document.getElementsByName("abc").length);
}
</script>
</head>
<body>
<ul>
<li><a href="javascript:Test()">Hallo</a></li>
<li name="abc">Welt</li>
</ul>
</body>
</html>
[/code]
nicht wie erwartet 1 (sondern 0) an? Firefox machts richtig. :-(
Danke für eure Hilfe!