Javascript and Select lists

I’m trying to achieve something that seems impossible.
I have a normal html Select list in a php file and what I’d like to do is keep
the selected value in the select list when the page refreshes instead of it jumping back to the first one. Anyone know how to do this with javascript or php?