jquery 1.2.7 how can I replace some text ?

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-06-10T15:34:57Z Indexed on 2010/06/10 15:53 UTC
Read the original article Hit count: 87

Filed under:

I cannot upgrade my jQuery, and I was wondering why this function is not existing. How can I implement this:

$('#block-block-1 .content').replace(/^\s*|\s*$/g,'');

What I get is: "function doesn't exist"

thanks

© Stack Overflow or respective owner

Related posts about jQuery