B
btknorr
The following html and javascript combination fails to execute in
Internet Explorer...does anyone know why? If you change the input's
attribute "name" to anything other than "item" it works just fine. Any
help is greatly appreciated...thanks.
<html>
<input type="button" name="item" value="My name is item">
<script>
alert("hello");
alert(document.getElementsByTagName("input").item(0));
alert("hello");
</script>
</html>
Internet Explorer...does anyone know why? If you change the input's
attribute "name" to anything other than "item" it works just fine. Any
help is greatly appreciated...thanks.
<html>
<input type="button" name="item" value="My name is item">
<script>
alert("hello");
alert(document.getElementsByTagName("input").item(0));
alert("hello");
</script>
</html>