form中属性跟input名冲突解决
<form action="http://www.163.com/" method="get"><input type="text" name="action" value="http://www.sohu.com/" /><button onclick="subm(this.form)">submit</button></form><script type="text/javascript">function subm(o){ o.attributes['action'].value = o.elements['action'].value; o.submit();}</script>