> AFAIK thats right. It's a design decision not to extend existing
> classes, as that can break code that iterates over properties of
> objects. But I'm not sure if this applies to String, too. Eg. extending
> String with a trim() method seems to make more sense then $.trim()...

That's correct. That's something that will probably be with jQuery
someday, as a plugin - but probably not included in core directly. If
anyone wants to step up and build a suite of useful functions, you're
welcome to it!

--John

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to