如果是post提交的,就用Request.Form.GetValues方法
如果是get提交的,就用Request.QueryString.GetValues方法
这个和checkbox,radio以及select获取多项数据的方式是一样的。
你获取每个文本框的值后加一个标记啊,比如加| 然后 hello|hello,hi,nihao,|ma,tianttm|
先按|切割 再自己要做什么操作都行 去逗号什么的
var arr=document.getElementsByTagName("input");
for(var i=0;i
alert(arr[i].value);
}
你用脚本得到吧 这个可以