The dependent dropdown code works on create page very nicely. When I select / change the parent dropdown list option, the child options gets populated. But I am not able to get it working on update page.
I have a div and the update form gets loaded into this via ajax. The parent dropdown list have the country selected already as it is update form, but the child dropdown list is empty because we not changing the option of parent dropdown list.