Well, in a few words I bring data by AJAX
and at the same time I create and remove data from the page as the user interacts with it. The problem is that I am trying to segment data but this has become too problematic since I do not know in which part of the code I am having problems.
In this picture I show what is created on the page
This is the code or rather the function that is executed when making an onchange in the combobox.
Each time I assign users, the lower box is removed with all the users and it is returned with AJAX
, therefore it is the data that is in the database at the time of the query. But I would like not to have to do another interaction for AJAX
rather I would like to just hide the results that are not equal to the combobox.