jQuery Object doesn’t support property or method trim() in IE April 27, 2023 by Tarik IE doesn’t have a string.trim() method. Instead, you can call jQuery’s $.trim(str).