1
I’ll describe what I’m trying to do:
There are sectors, and in each sector there are several employees, and I need that when selecting a sector in a field select
, the next field select
(that will list the employees) be filled in with the employees of this sector.
The problem is that it may be possible to select more than one sector (the sector field is Multiple), that is, when selecting 2 different sectors, the field select
of employees shall be loaded with the employees of these 2 sectors.
I’m not sure how to send all the sector Ids to my file PHP
that will return the code with all employees.
follows jsFiddle: https://jsfiddle.net/t0u1j6L8/4/