No action on the clicked button inside the tab
No action on the clicked button inside the tab
tsurubaso
Posts: 32Questions: 8Answers: 0
Hello to all,
I hope you are well.
I guess it's a simple problem.
Link to test case: (part of the code)
https://pastebin.com/AhBdk12C
Debugger code (debug.datatables.net):
Error messages shown:
No error message
Description of problem:
If I click on the button, nothing appends.
It should print something.
This question has an accepted answers - jump to answer
Answers
See if this example helps or this using
defaultContent
to render the buttons. You may need to adjust your selectors.If you still need help please provide a test case replicating the problem so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
@kthorngren Thanks, I will work on this, and if nothing works, wiill provide test case.
I just added an id to the button, '#btn1' and
And it's working.
@kthorngren for the help
Using an id for multiple buttons doesn't seem like the correct solution as the id is to be unique on the page.
Kevin