I have a form with multiple select field which I validate with javascript before posting. PHP likes to have
<select name=test[] multiple>
kind of declaration to store the vars in an array. On the other hand, javascript does not allow [] in the name of the component, therefore I cannot access the the component such as
document.forms.myform.test[].options.length
for example.
There must be a way to access the posted vars even if the var names are the same. In other words I want to see the http request string "?test=1;test=2;test=3" so that I myself can parse it and I can keep the name of the component name free of []s.
Thanks,
Onur MAT