Dynamically creating rows inside of document.createElement() isn't working with a template?
For some reason, I've managed to make a button that creates a new reply for the user and that works! But when I load from the database that same function for creating the button doesn't work?
Like the button .new-reply-btn works when I click it, it makes it properly
When the commands section loads, it gets the data from the DB correctly
So for each commend it loads from the DB I try to add a new row (Which works)
But when I loop through all the replies inside of
It doesn't seem to work when I call createReplyElement here
Here is the template
1 Reply
So for now I replaced it with this and it works... I'd much rather use the template but if nobody is able to explain how to fix the template thingy, at least it's working