I have two dropdowns on my page; the contents of the second being dependant on the chosen option of the first. The options for both dropdowns come from an SQL query. I did this by putting the first dropdown in its own form, and submitting it to the same page when the chosen option of the first dropdown has changed. This works great, but requires a second trip to the server. If I have an array of all possible options on the page, would it be possible to not have to make that second trip? I'm thinking of having a subroutine run everytime the onchange event of the first dropdown occurs. This would have to be client side script, so would java be the better choice?