get and give value of single select or multiple select