I open up a search page as a pop up window. The user implements the search options and is returnded a number of rows. The user then selects one of these rows using a check box which I have defined as a multibox in my jsp.
The problem I have is populating the field on the parent window with the value of the multibox?
When you do this with your page, you will see that a number of tags have been generated: <input type="checkbox" name="resourceIds" value="xx"> Where xx is the resource ID.
Get an array of all the resourceIds checkboxes. hint: var checkBoxes = document.myform.resourceIds;
Iterate over that array, and create a new array of resource Ids containing only IDs for controls that were checked. hint: if (checkBoxes[i].checked) newArray[j++] = checkBoxes[i].value