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

RE: [ydn-javascript] YUD.hasClass feature request...

Expand Messages
  • Carson McComas
    Ignore me. Turns out: I m a dope. Did a simple test case and it worked fine. Off to bark up a different tree... _____ From: ydn-javascript@yahoogroups.com
    Message 1 of 3 , Jun 30, 2006
    • 0 Attachment
      Ignore me. Turns out: I'm a dope. Did a simple test case and it worked fine. Off to bark up a different tree...
       
       


      From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of wwempire
      Sent: Friday, June 30, 2006 3:41 PM
      To: ydn-javascript@yahoogroups.com
      Subject: [ydn-javascript] YUD.hasClass feature request...

      It appears that if this function receives an element that has no
      class, it triggers an error in IE: "className is null, or not an
      object" -- it would make more sense, I think if it just returned false.

      [disclaimer: I'm a YUI newbie and could be mistaken about this
      behavior. I plead for mercy and forgiveness in advance.]

    Your message has been successfully submitted and would be delivered to recipients shortly.