In firefox, works great. In IE I get no errors but I get no LI on the given UL. Any ideas? I've confirmed that in IE both ul and li are an [object]. [ March 14, 2006: Message edited by: Pat Denton ]
It may be because e can mean something to IE so it probably would be best not to use it. Not sure if that would be the case since I was able to do it in my IE. Make sure you are not cached either and you are calling it after the UL element is rendered on the page.
Well, the UL's are being created dynamically as well. But they are all created and are visible on the page before this code gets called. I am calling this code when clicking on a checkbox.
I changed e to something else and it still fails in IE. Eric's example works fine for me in IE. Something just hit me. Each UL is in it's own TD. I wonder if for some reason, in IE, when I add a child to the UL, the TD is not expanding it's height? I don't know, just shooting in the dark here.
Figured it out. I forgot that when creating tables in js you have to give the table a tbody or anything between the thead and tfoot won't render in IE. Thanks for the help though.