- From: Gervase Markham <gerv@mozilla.org>
- Date: Thu, 12 Jul 2007 15:08:31 +0100
Dan Dorman wrote: > Granted, the most common case will indeed be asking for a single class > name. But, if we're going to the trouble of accepting multiple class > names, it seems shortsighted to restrict the parameter for the > multi-class case to a space-separated string, which is really just a > kludgey way of representing a list (or array). I definitely remember that there was a thread about this a while back, including the concern that getElementsByClassName("foo bar") might erroneously lead people to believe that the class names had to be present in that order. I suggest that participants in this thread reacquaint themselves with the discussion in the previous one before having it again. Gerv
Received on Thursday, 12 July 2007 07:08:31 UTC