标签:
<script type=
"text/javascript"
>
String.prototype.trim =
function
()
{
return
this
.replace(/(^\s*)|(\s*$)/g,
""
);
}
</script>
trim()函数IE7/8不兼容
原文地址:http://www.cnblogs.com/sayy/p/4397922.html