<form action=”indexedParameters.jsp” method=”POST”>
<input type=”hidden” name=”indexed” value=”1″>
<input type=”hidden” name=”indexed” value=”2″>
<input type=”hidden” name=”indexed” value=”3″>
</form>
Hi how can I replicate the above scenario from the script.
I wanted to do something like this
for (i=1, i< noOfJobs; i++) {
fillListForm.selectedJobs.value =
fillListForm.selectItem.options[i].text + “*” +
fillListForm.selectItem.options[i].value;
}
where “selectedJobs” is a hidden item.
In the receiving page I find that selectedJobs contains only one value and that is the last value. We can understand that that is expected since the value is getting overwritten inside the loop.
I however noticed that document.fillListForm.selectedJobs.value[i] does not throw any errors altho it did not work.
Any thoughts pls
?