Loading ...
Sorry, an error occurred while loading the content.

Selector.query problem in IE

Expand Messages
  • Christian Tiberg
    Hi there! The following qry = #intro_avdelningar .intro_avdelning ; found = YAHOO.util.Selector.query(qry); works in FF and Chrome, but not in IE. Any hints?
    Message 1 of 4 , Oct 16, 2009
    • 0 Attachment
      Hi there!

      The following

          qry = "#intro_avdelningar .intro_avdelning";
          found = YAHOO.util.Selector.query(qry);

      works in FF and Chrome, but not in IE. Any hints? The first is the ID of a div, and the next is a class to find divs within the outer.

      Best regards,
       Christian Tiberg
    • Christian Tiberg
      OK, I worked around the Selector problem, but then this YAHOO.util.Event.delegate(this.parentDivID, mouseover , function(e) { }, . + this.class); doesn t
      Message 2 of 4 , Oct 16, 2009
      • 0 Attachment
        OK, I worked around the Selector problem, but then this

        YAHOO.util.Event.delegate(this.parentDivID, "mouseover", function(e) {
        }, "." + this.class);

        doesn't work either in IE. Is delegate using Selector, perhaps?

        Best regards,
         Christian Tiberg


        2009/10/16 Christian Tiberg <ctiberg@...>
        Hi there!

        The following

            qry = "#intro_avdelningar .intro_avdelning";
            found = YAHOO.util.Selector.query(qry);

        works in FF and Chrome, but not in IE. Any hints? The first is the ID of a div, and the next is a class to find divs within the outer.

        Best regards,
         Christian Tiberg

      • Christian Tiberg
        Yes it is, it even says so in the source code. Since Selector is horribly and utterly broken in IE for v2.8 and my use, I had to rewrite that part too. Bother.
        Message 3 of 4 , Oct 16, 2009
        • 0 Attachment
          Yes it is, it even says so in the source code. Since Selector is horribly and utterly broken in IE for v2.8 and my use, I had to rewrite that part too. Bother. And no, I can't file a ticket, because I'm visually impaired and the captcha stumps me :(

          Best regards,
           Christian Tiberg


          2009/10/16 Christian Tiberg <ctiberg@...>
          OK, I worked around the Selector problem, but then this

          YAHOO.util.Event.delegate(this.parentDivID, "mouseover", function(e) {
          }, "." + this.class);

          doesn't work either in IE. Is delegate using Selector, perhaps?

          Best regards,
           Christian Tiberg


          2009/10/16 Christian Tiberg <ctiberg@...>

          Hi there!

          The following

              qry = "#intro_avdelningar .intro_avdelning";
              found = YAHOO.util.Selector.query(qry);

          works in FF and Chrome, but not in IE. Any hints? The first is the ID of a div, and the next is a class to find divs within the outer.

          Best regards,
           Christian Tiberg


        • Dav Glass
          It s hard to debug Selector issues if we can t see the HTML that it s running on. Please email me off-list and we can get you a account on yuilibrary.com ;)
          Message 4 of 4 , Oct 16, 2009
          • 0 Attachment
            It's hard to debug Selector issues if we can't see the HTML that it's
            running on.

            Please email me off-list and we can get you a account on yuilibrary.com
            ;)

            Dav


            On Fri, 16 Oct 2009, Christian Tiberg wrote:

            > Yes it is, it even says so in the source code. Since Selector is horribly
            > and utterly broken in IE for v2.8 and my use, I had to rewrite that part
            > too. Bother. And no, I can't file a ticket, because I'm visually impaired
            > and the captcha stumps me :(
            >
            > Best regards,
            > Christian Tiberg
            >
            >
            > 2009/10/16 Christian Tiberg <ctiberg@...>
            >
            > > OK, I worked around the Selector problem, but then this
            > >
            > > YAHOO.util.Event.delegate(this.parentDivID, "mouseover", function(e) {
            > > }, "." + this.class);
            > >
            > > doesn't work either in IE. Is delegate using Selector, perhaps?
            > >
            > > Best regards,
            > > Christian Tiberg
            > >
            > >
            > > 2009/10/16 Christian Tiberg <ctiberg@...>
            > >
            > > Hi there!
            > >>
            > >> The following
            > >>
            > >> qry = "#intro_avdelningar .intro_avdelning";
            > >> found = YAHOO.util.Selector.query(qry);
            > >>
            > >> works in FF and Chrome, but not in IE. Any hints? The first is the ID of a
            > >> div, and the next is a class to find divs within the outer.
            > >>
            > >> Best regards,
            > >> Christian Tiberg
            > >>
            > >
            > >

            --
            Dav Glass
            davglass@...
            blog.davglass.com


            + Windows: n. - The most successful computer virus, ever. +
            + A computer without a Microsoft operating system is like a dog
            without bricks tied to its head +
            + A Microsoft Certified Systems Engineer is to computing what a
            McDonalds Certified Food Specialist is to fine cuisine +
          Your message has been successfully submitted and would be delivered to recipients shortly.