摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$.fn.ltrim=function(val){return val.replace(/(^\s*)/,"");}$.fn.rtrim=function(val){return val.replace(/(\s*$)/g,""); }$.fn.trim=function(val){return val.replace(/(^\s*)|(\s*$)/g 阅读全文