It’s not what I need because in those functions i need to pass id explicitly. What I need is function which will loop and print all the tables. Maybe it will be easier to understand that by giving you my use case. I have accordion element so there is “Title” and “content”. I want in each item of accordion title as table name and content as printed table.
example of accordion: https://imgur.com/a/khSsEAo