jQuery does have a trim function: http://docs.jquery.com/Utilities/jQuery.trim Although it's not in the syntax of "string".trim().
return jQuery != MooTools; On Apr 1, 5:46 pm, yifang <xiaoyifang198...@gmail.com> wrote: > mootools support syntax like this "string".trim() > will jquery support such features in the future? > thanks.