Dynamic HTML - DOM i netscape
Hvorfor virker dette eksemepl ikke i netscape men kun i internet explore?????<HTML>
<HEAD><TITLE>Welcome!</TITLE>
<SCRIPT LANGUAGE="JScript">
function changeMe() {
MyHeading.style.color = "green";
MyText.innerText = "You can do the most amazing things with the least bit of effort.";
}
</SCRIPT>
<BODY onclick="changeMe()">
<H3 ID=MyHeading>Welcome to Dynamic HTML!</H3>
<P ID=MyText>Click anywhere in this document.</P>
</BODY>
</HTML>
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/dhtml.asp
