well seeing that each querie is also something like an array.
It's not just one result the querie is returning. It's collection of rows.
Since normally you refer to it's rows in a foreach loop
...
Alright thanks for the knowledge. I guess I'll just have to run several simular queries at the start for each button.
Thanks again, it was just what I needed to know.
Actually I figured out the problem without any help.
iExplorer couldn't read ".childElementCount"
I just replaced it with ".childNodes.length" if it showed up null.
My function is now completely...