Hello All
I have a java function that creates a form with a dynamic number of "inputs" and sends it to an asp page
The asp page is surposed to cycle through and Response.Write the elements
The asp only shoes the first two words of the first element
I have included the asp code and the function(the asp is first) im new to this and any help is much appreciated
Thanks is advance
ASP#######################
for i=1 to Request.Form("theform").Count
Response.Write(Request.Form("theform")(i) & "<br />")
next
JAVA FUNCTION#############
function postit(where){
var theform=document.createElement('form')
with (theform) {
action=where
method='post'
}
document.body.appendChild(theform)
for (var i=0,l=strSql.length;i<l;i++) {
var theinput=document.createElement('input')
with (theinput) {
type='hidden'
name='thearray['+i+']'
value=strSql
alert(strSql)
}
theform.appendChild(theinput)
}
theform.submit()
}
I have a java function that creates a form with a dynamic number of "inputs" and sends it to an asp page
The asp page is surposed to cycle through and Response.Write the elements
The asp only shoes the first two words of the first element
I have included the asp code and the function(the asp is first) im new to this and any help is much appreciated
Thanks is advance
ASP#######################
for i=1 to Request.Form("theform").Count
Response.Write(Request.Form("theform")(i) & "<br />")
next
JAVA FUNCTION#############
function postit(where){
var theform=document.createElement('form')
with (theform) {
action=where
method='post'
}
document.body.appendChild(theform)
for (var i=0,l=strSql.length;i<l;i++) {
var theinput=document.createElement('input')
with (theinput) {
type='hidden'
name='thearray['+i+']'
value=strSql
alert(strSql)
}
theform.appendChild(theinput)
}
theform.submit()
}