Re: [jQuery] traversal question for IE6 and IE7

2009-12-17 Thread Richard D. Worth
Your html isn't valid. * A dl cannot contain a div directly as you've shown, only dts and dds. * The dt and dd elements inside the div#bar need to be directly inside the dl. They can't have a div as a parent. * The dt and dd elements don't close immediately when you put a closing slash in the openi

[jQuery] traversal question for IE6 and IE7

2009-12-16 Thread cewing
Hi all, I've got a bit of HTML with the following structure: in IE6 and IE7 $("dd#baz").parents() returns an object with 2 nodes in it, the dl and div#foo. it does not contain div#bar. I assume this is due to a stricter interpretation of prope