J
JS Beginner
Firstly, thank you very much (Randy?), I get this and having a good start.
But now, I have some new problem on accessing class. =)
<script>
function Start()
{ document.write ( document.all.X.style.length ) }
</script>
<body>
<div id="X" name="X" style="visibility:1;z-index:1;position:relative">
<table name=table border=1 cellpadding=1 cellspacing=0>
<tr><td><script>Start()</script></td></tr></table>
My question is why I can't get the elems(length) from X.style ?
but I can get document.all.X.style.zIndex directly ?
Is that related to another topic (out of the scope about form) or what ?
TIA
But now, I have some new problem on accessing class. =)
<script>
function Start()
{ document.write ( document.all.X.style.length ) }
</script>
<body>
<div id="X" name="X" style="visibility:1;z-index:1;position:relative">
<table name=table border=1 cellpadding=1 cellspacing=0>
<tr><td><script>Start()</script></td></tr></table>
My question is why I can't get the elems(length) from X.style ?
but I can get document.all.X.style.zIndex directly ?
Is that related to another topic (out of the scope about form) or what ?
TIA