trim() javascript function not working in IE7 however it' working fine in all other version and all browser. what should be issue with IE7 or how i can resolve this?
$("#Email").val().trim()
Thanks in advance.
IE doesn't support String.prototype.trim()
until IE9.
It looks like you're using jQuery, so you can use $.trim()
instead.
$.trim($("#Email").val())