The code you posted works as it should. When your callback function is registered through the vizact.onbuttondown command, the values in both text boxes are empty strings. Getting the textbox values at the time of the button press should be done in the callback function itself, as in my example.
|