in the eCart checkout form, there are select lists already on the page for billing state, billing country, shipping state and shipping country
to retain the values for those lists, you would need to follow the directions I have been trying to provide.