Code Snippets

Custom alternative function for JavaScript trim(). JavaScript trim() method is not supported in Internet Explorer 8 and earlier versions. IE8 says: Object doesn’t support this property or method. I am using an alternative method to Keep my JS project error free on IE.