I have a list of cars and a select list that contains car brands and "all", when choosing an option I filter cars based on their brands. e.g when I choose "Mercedes" only Mercedes' cars are displayed, and we I choose all, all the cars are displayed. (It all works just fine).
When I refresh the page I want the list to be filtered based on the last option I chose (before refreshing) and not all the list again. I'm wondering if there's a way to do this on the client side without in need of server side work. I just need to mention that my question is not about the "onchange" function but about storing the last chosen option.