I have no experience of
java script, trying to do the following create two selects, the second select is dependent on the first. I can do thsi in java no problem, but have been told to use JavaScript also has its a very old app it does not have AJAX so its javascript all the way.
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.
I have googled but just got java vs javascripts what the difference none that really show you how to use java an javascrip together.
Thanks for any help