js去字符窜首尾空格用replace函数替换它,然后执行例如:str=form.keywords.replace(//g,'');form.action='search.aspx?keywords='...