Why not post all the values in one param, concatenated and separated by a
delimiter?
So...
IE:
parameterCode=paramVal1|paramVal2|paramVal3 and so on..
Then in the script to read the vals, you can do this:
var paramArray = parameterCode.split("|");
which would give you an array of strings based ont he value of the
parameterCode variable
(Note: Assuming you are passing the value of the post parameter
"parameterCode" to a function..)
Bit vauge and sketchy but hopt this points you to the rigth solution
Steve
<jr********@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
If we have an array of parameterCode and parameterValue, what is the
best way to POST those
information?
Approach #1, I don't think this will work
parameterCode=1A¶meterValue=1B¶meterCode=2 A¶meterValue=2B¶meterCode=3A¶meterValu e=3B
Approach #2:
parameterCode_1=1A¶meterValue_1=1B¶meterCo de_2=2A¶meterValue_2=2B¶meterCode_3=3A&par ameterValue_3=3B
Please advise. thanks!!