- From: Gervase Markham <gerv@mozilla.org>
- Date: Fri, 03 Feb 2006 15:49:28 +0000
Jim Ley wrote: > Er, no the use case people have is that they want everything that has > class X to respond to a particular event, if you model that with > getElementsByClassName then you cannot change a class on an element > and have it respond, without re-running the attachment, and manage the > fact you've already attached it to some classes etc. Oh, I get it. Sorry - I misunderstood. > What an extremely odd use case, but it is at least a use case, > thankyou. I'm not sure it's really one significant enough to warrant > implementing it given the large number of other methods of achieving > the same spelling correction. Especially as the majority of them can > be done without requiring javascript at all. As an aside, I'd be interested in hearing about any JavaScript-less methods (that don't involve marking up every instance of the word; this doesn't work, as some are e.g. in href attributes.) Gerv
Received on Friday, 3 February 2006 07:49:28 UTC