你运行我下面的例子就明白了:
<form><input type=text name=param value='hello'><input type=submit></form>
<script type=text/javascript>
function $w(s){document.write(s);}
s=location.search.substr(1);
a=s.split('&');
for (i in a){
b=a[i].split('=');
$w(b[0]+'='+b[1]+'<br>');
}
</script>
追问我还是没明白,运行后的提交内容按钮是怎么出来的,而且,我要提交的是多项内容,提交在同一个文本框中