K
Kirsten
I want to setup the call to an event with parameters like this:
x = 3
row.onclick = doSomething(x);
where row is a well-defined TR element.
Can I do this? Everything I tried was setting up row.onclick = doSomething
but when I put the parameters the function is called in the initialization
and not everytime the row is clicked.
Thanks.
x = 3
row.onclick = doSomething(x);
where row is a well-defined TR element.
Can I do this? Everything I tried was setting up row.onclick = doSomething
but when I put the parameters the function is called in the initialization
and not everytime the row is clicked.
Thanks.