Consider the following:
won't work as expected. Is it possible to:
- Give each button a unique id attribute while it is created in the loop?
I absolutely have know idea how it can happen, looks like there's no way around it. Is this possible?