Form Post提交容量大的数据(2)
frmTest.elements["hdnBigField" + i].value = strData.substring((i - 1) * iMaxChars, i * iMaxChars);
}//原数据域清空
frmTest.BigField.value = "";
}
</SCRIPT>
====服务器端示例代码====
复制代码 代码如下:
<%
Dim strData
Dim intFieldCount
Dim iintFieldCount = Request.Form("hdnCount")For i=1 To intFieldCount
strData = strData & Request.Form("hdnBigfield" & i)
NextResponse.Write strData
%>