Here is the example. You can refresh the page and close the browser and it will still maintain the updates you make as it is using a collection of cookies to emulate database.
NOTE: The dropdown selection does not properly work in IE because of one line of code. I know what to change, but I will not fix it yet. I figured this would be a good way to show a good interview question that you could ask in your company :)
Here is the full explanation of how it works:
- almirsCorner.com -