just a hint but im sure sure if im correct 🙂
because of the submit u need to refresh your browser so that u will get the value u want.
if its just a dropdown where it will lead you to another section why dont u just make it a hyperlink and assign the variable in the url so that when u go to the page it will automatically display the value u want.
but like what i've said im not sure if i do answer your query correctly. 🙂