Ok, I need an onClick put into cells in a table, I also need the function it calls to be given a unique number.. so:
if it were only that easy lol, I have something like 30 different cells a few tables and need to give each a unique two numbers, the tables are created dynamically and so the natural progression:
just the td insert part run under two for loop with 'a' that jumps per table and 'b' that jumps per cell ~~
var td = document.createElement('TD');
of course this doesn't work, the function is an actual function and takes the value of 'a' and 'b' when its triggered (long after the loops are done)
that's my problem, my question? Is there any conceivable way to store these numbers somehow linked with the onClick? I'm at a loss here, I can't see any way round this other than writing out a stupid number of onClick calls - or using normal tables.
Any help or comment would be greatly appreciated, thanks.