Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

IE 8 js error "Object doesn’t support this property or method"

SA-1730

Summary



In Internet Explorer (IE) 8 certain users are experiencing a scripting error on certain parts of a flow. This error does not occur in IE10


Error Messages



Object doesn’t support this property or method.



Root Cause



The root cause of this problem was attributed to a third-party product integrated with PRPC. IE8 does not support trim().


Resolution



local change: add following fix script in UserWorkForm.

if(typeof String.prototype.trim !== 'function') {
                String.prototype.trim = function() {
                return this.replace(/^\s+|\s+$/g, '');
                }              
}

 
 
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us