Thanks a ton. That was the exact problem. I read that day about the "id" namespace bug in IE but then it didn't strike me.
Really appreciate it. :-) -Sumit On Jan 19, 2:15 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote: > Hi, > > Do you have any page-global variables with the name "issues", any page- > global functions called "issues", any <form> elements with > name="issues", any form *fields* with name="issues", etc.? IE has a > very, very strange (buggy) concept of namespaces and conflates several > of them inappropriately into the "id" namespace. > > To check whether this is the problem, change the ul's id to > "flibberdygibbet" and change your code to look for that ID. If things > start working, you know it's a problem with "issues" being redefined > somewhere. > > HTH, > -- > T.J. Crowder > Independent Software Consultant > tj / crowder software / comwww.crowdersoftware.com > > On Jan 19, 8:35 am, Sumit <skbrnwl-...@yahoo.com> wrote: > > > and surprisingly, the same document.getElementById() works on > > individual li elements. > > > for example if i do document.getElementById('issue_1'), it returns me > > an object with right childNodes.length > > > I guess something screwed up with IE and i would've to do something > > else to avoid this ul issue > > > On Jan 19, 12:41 pm, Sumit <skbrnwl-...@yahoo.com> wrote: > > > > Here is the updated url with sample jshttp://pastebin.com/mb390d36 > > > > On Jan 19, 12:40 pm, Sumit <skbrnwl-...@yahoo.com> wrote: > > > > > Sorry if this seems to be a wrong forum for this issue. I've been > > > > using prototypejs in my project, so thought you guys may have done > > > > some workaround this. > > > > > My html content looks like thishttp://pastebin.com/m2af10447 > > > > > on "dom:loaded" event, i'm querying the dom for objects with id > > > > "issues". On FF it just works fine; but on IE8 (i'm yet to test on > > > > other devil builds yet), i found (on debugging) that the return > > > > element has no children, i.e. childNodes.length is 0. > > > > > Any ideas/suggestions on what could be done to fix this? -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.