Get text and value of select from dropdown