Get Selected item from dropdownlist

Get Selected item from dropdownlist

I have two dropdownList. One parent and the other child. Selected item in Parent drives the selected item in Child on Parent Changed. Now on Edit I want to highlight only the selected item where their ID's match in each of the dropdowns. Any help will be appreciated.