W
webdeveloper
Without showing any code, I thought maybe somebody already knows what
the error message in the title generally means?
But in short, a menu is supposed to display by setting its inline style
attribute to: display="none" vs 'display="block" upon an onclick of an
"<a>" element. That link ("<a>") element is accessed via DOM by using
something like "this.parentNode.childNodes[2].style.display="none", or
"block" to display a menu below it.
The code works in Firefox, and the menu shows up & hides, but IE6 gives
this error, despite that it's supposed to support the 'parentNode'
property. What could it be?
-Help's appreciated.
the error message in the title generally means?
But in short, a menu is supposed to display by setting its inline style
attribute to: display="none" vs 'display="block" upon an onclick of an
"<a>" element. That link ("<a>") element is accessed via DOM by using
something like "this.parentNode.childNodes[2].style.display="none", or
"block" to display a menu below it.
The code works in Firefox, and the menu shows up & hides, but IE6 gives
this error, despite that it's supposed to support the 'parentNode'
property. What could it be?
-Help's appreciated.