[thelist] DOM: previousSibling and LI tags
ben morrison
morrison.ben at gmail.com
Thu Jan 19 11:35:01 CST 2006
Hi,
I'm having an issue where i want to access the previous list item
using javascript.
this.previousSibling works in Explorer, but in firefox it returns the
text element,
so if i use this.previousSibling.previousSibling it will work
correctly in firefox but not IE.
Quite a pain, how do others get around this issue? are we back to
browser sniffing :(
ben
More information about the thelist
mailing list