Hi, I can't immediately replicate that, if it's really the `select` that's failing, it must have to do with your markup. Can you post a minimalist failing test page?[1] Also, what happens when you use
this.Pages = this.Carousel.select('div.CarouselV9Page'); instead? That's an equivalent selector. Separately, though: Are you sure it's the `select` that's failing? There's a substantial bugfix in IE8: `document.getElementById` no longer (incorrectly) finds things by `name` in addition to `id`.[2][3] Does your `divID` variable actually refer to an element's `id` (not `name`)? [1] http://proto-scripty.wikidot.com/self-contained-test-page [2] http://blog.niftysnippets.org/2010/03/by-any-other-name-would-smell-as-sweet.html [3] http://msdn.microsoft.com/en-us/library/ms536437(VS.85).aspx HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Mar 24, 4:26 pm, FireDog <jerry.spark...@gmail.com> wrote: > I have some code that works in IE 7 but does not return an array of > elments in IE 8 > Example: > this.Carousel = $(divID); > this.Pages = this.Carousel.select('div[class="CarouselV9Page"]'); > > this is only happening when IE 8 is not set to IE 7 compatibiliy. > > Can some one pleas help? -- 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.