Hi there,
I have two Dropdownlist, one to load the workers of a company and the other to load the departments.
- One worker can work in more than one department.
- When I select one worker in the first Dropdownlist, the second Dropdownlist load the departments which that worker belongs.
- When I select one department in the second Dropdownlist, the first Dropdownlist load the workers who belong to that department.
- The problem I have is is the following:
- When I select any worker , his departments are loaded (that's ok). The problem is that when I select one of theses departments and the first dropdownlist is loaded with his workers, the worker firstly selected is "unselected" and the dropdownlist appears ordained. I'd like to keep the worker selected after selecting one department (and keeping loading their workers ).
Any ideas? Thanks.
I have two Dropdownlist, one to load the workers of a company and the other to load the departments.
- One worker can work in more than one department.
- When I select one worker in the first Dropdownlist, the second Dropdownlist load the departments which that worker belongs.
- When I select one department in the second Dropdownlist, the first Dropdownlist load the workers who belong to that department.
- The problem I have is is the following:
- When I select any worker , his departments are loaded (that's ok). The problem is that when I select one of theses departments and the first dropdownlist is loaded with his workers, the worker firstly selected is "unselected" and the dropdownlist appears ordained. I'd like to keep the worker selected after selecting one department (and keeping loading their workers ).
Any ideas? Thanks.