updating the select options
function setup to pull select option and working on resources
query to select data attr and place in hidden input for db record of selected option
didn't do hidden properly
got the function to choose selected option from dropdown
made the getSelected function variable for each select
moved javascript into own files to be called as needed