How can I get options dynamically in drop-downs?