Getting selected values gives an empty array

changed selector for selected values as the 'selected' attribute is only available from within the DOM and not the source