Looking on the net I found a JQuery pluging jquery.doubleSelect.js.
Which does what I need it to do, what I need to do is set the values.
These are values hard coded, what I have is a ArrayList of objects each object contains a ararylist of objects which will go in the second select.
I have no idea how to convert acolloction of java objects into a collection of javacript objects to loop through.
Another option, perhaps much cleaner, is to convert the country array to JSON on the server side (there are libraries to do this) and just use that.
Joined: Jun 29, 2002
Thanks for the reply is thuis legal it doesnt work yet but is it on at least one of the right tracks for solving the problem.
Takes the country list out of the request for each one sets country name country id and for the second select sets each city an city id from that country city list