Instead of getting a reference to the table object, directly get the drop down list (see example below)

var dropDown = document.getElementById("[id of drop down here]");

var selectedValue =...