Select Box Change Dependent Options dynamically (JavaScript Object)

You may have came across different examples showing how to change/load the content in child <SELECT> element, depending on the parent <SELECT> options. Most examples uses database and Ajax to achieve the same, which of-course can be implemented depending on your circumstance. But if you wish to use another method using pure JavaScript Objects, here’s how you can do it.