Javascript Show Dropdown Value Based On Previous Selection Stack

Javascript Show Dropdown Value Based On Previous Selection Stack