Navigating the IE vs Netscape DOM
I just made an observationg that troubled me. I guess because IE once again has its own variations this works or Netscape isn't following the dom I don't know which but I was hoping this type of navigation was going to be dom compliant with the newest versions of Netscape
If you have a table with the id "bob" (I like dumb names sometimes) you should be able to navigate down the table via bob.firstChild.childNodes.innerHTML. This does not work in netscape but does work in IE. I find this troubling because of how much easier things would have been if it worked in both. I really just wish the browsers would become equal.
The dom specification is here (outdated I believe)
Thats the specification and how it supposedly works. I am going to keep playing and figure out if maybe Netscape 'changed' it. for an example try this
An example of how it works:
<table width="75%" border="1" id="bob">
<td>row 1 col1</td>
To navigate using the dom you should be able to do something like this
(this part goes in the head with an onload from the body)
that will show you the whole table. This nice thing about navigation this way is the removal of the need to id everything. So I could very easily do
This will show you row1col2. DHTML affects (such as changing background in table elements) would be more convenient (I would think anyways)
Anyways just ranting sorry to waste anyones time.