Why does Safari not like the .trim() in JQUERY?

Posted by nobosh on Stack Overflow See other posts from Stack Overflow or by nobosh
Published on 2010-05-23T06:45:07Z Indexed on 2010/05/23 6:50 UTC
Read the original article Hit count: 134

Filed under:
|
|
|

This works fine in FireFox: $("#listname").val().trim()

But in safari it errors: $("#listname").val().trim() while this does work, $("#listname").val()

Why is that?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about firefox