You could bind a
change event to the
select, and when it changes filter the data to load it to the second
Added jsfiddle with the solution.
I did it using the jquery
each method to filter the data,
but I recommend you use a tool like underscore.js.