The most basic callback is to the default function, APLJax. Change the checkbox state to run APLJax:

You can also specify which callback function to call. Click the button to call MyCallback:

Let's call MyCallback again, but this time with info about the above checkbox's state:

You can also execute JavaScript on the client side, while not calling back to Dyalog at all:

Click any button in this Fieldset

Finally, you can attach a single handler to multiple sub-elements, like this Fieldset has a single handler for its buttons.

The code to achieve this is: .On 'click' 'Choice' '' '' 'button'

Watch this space while you click an input control!

Controls used on this page: Dyalog: ButtonCheckBoxFieldset Base HTML: codeh3pstyle