That's a lot of coding. That you need to figure out on your own.
But here's a tip :
You can make
Jquery AJAX[
^] call to the server based on your dropdown selection.
And you can refresh your set of collection in success function of the
$.Ajax({...})
.
-KR