23
I tried to apply .trim() in JavaScript in one of my programs. It's working fine under Mozilla, but an error displays when I try it in IE8. Does anyone know what is going on here? Is there anyway I can make it work in IE?
code:
var ID = document.getElementByID('rep_id').value.trim();
error di...