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

2763Which is Quicker...?

Expand Messages
  • wwempire
    Jul 4, 2006
    • 0 Attachment
      YAHOO.util.Dom.getElementsByClassName('someclass','DIV',YAHOO.util.Dom.get('someId'))

      or

      YAHOO.util.Dom.getElementsByClassName('someclass');

      I ask because the docs say you get a perf boost if you provide an root
      node -- but is that perf increase cancelled out (if you will) when you
      make the .get() call?
    • Show all 2 messages in this topic