Adding functionalitty to select form element. Adding no option and selected attribute