Checkboxs' onChange ajaxEvent get the recently click item?

Hi, everybody.

I’m putting a checkboxs on the form and have several items(which I don’t know, all get from another table), and I want to do something to the recently clicked item(like run some SQL and fetch some other items) and how could I get exactly the user just clicked item? Not the {checkboxs} values, because it fetches all.

[QUOTE=jerry;31269]Hi, everybody.

I’m putting a checkboxs on the form and have several items(which I don’t know, all get from another table), and I want to do something to the recently clicked item(like run some SQL and fetch some other items) and how could I get exactly the user just clicked item? Not the {checkboxs} values, because it fetches all.[/QUOTE]

The only way is using {checkboxs} I’m affraid. In the onload you need to setup the old value and save that for comparisson.

That’s a solution, thank you aducom.

I change the design and do not use the checkboxs, instead of form with multi-lines. In the OnAfterUpdateAll event do my own code.

And the question is in the OnAfterUpdateAll event, could I know which line is checked by the user(the checkbox of the line will be checked if any change)?