getVal for dropdown