I have made a table data in HTML that has no content, basically just a th and a tr. Now, I haul the innerHTML of it and used my firebase data to change the value of the th and the tr. My only problem is it needs a second before it gets read, and now, whenever I use the search bar that I made, it does not read the new value of the th and the tr, rather, it only shows the premade values.
Is there a way to make this happen where the new data is searchable?