P
pantagruel
The following does not work in firefox:
<script defer="defer">
var x=document.getElementsByName("repositoryNamespace")
alert(x.length + " elements!")
</script>
</head>
<body id="www.interoperabilityframework.info">
<a name="repositoryNamespace"></a>
</body></html>
I have also tried the following:
<script src="reference.js" defer="defer">
</script>
</head>
<body id="www.interoperabilityframework.info">
<a name="repositoryNamespace"></a>
which does not work either, except for in IE.
I have tried without defer="defer" and just having defer on the
element,
I have tried with defer = True or true.
I have tried it with and without a dtd.
IE seems to accept everything, Firefox nothing.
Interestingly enough, using the xhtml 1.0 dtd Firefox accepted an
onLoad attribute on the body. But gee, I don't want to use the onLoad
attribute, I want to defer the script.
<script defer="defer">
var x=document.getElementsByName("repositoryNamespace")
alert(x.length + " elements!")
</script>
</head>
<body id="www.interoperabilityframework.info">
<a name="repositoryNamespace"></a>
</body></html>
I have also tried the following:
<script src="reference.js" defer="defer">
</script>
</head>
<body id="www.interoperabilityframework.info">
<a name="repositoryNamespace"></a>
which does not work either, except for in IE.
I have tried without defer="defer" and just having defer on the
element,
I have tried with defer = True or true.
I have tried it with and without a dtd.
IE seems to accept everything, Firefox nothing.
Interestingly enough, using the xhtml 1.0 dtd Firefox accepted an
onLoad attribute on the body. But gee, I don't want to use the onLoad
attribute, I want to defer the script.