April 2018
Beginner
714 pages
18h 21m
English
Since we exported objects as properties, we can access them by ID from outside of the form. In this code, we bind the text property of the result object to the return value of the code block that is enclosed in braces. We use argument1.text and argument2.text to access the current text of the input fields. We also use operationMultiply.checked to see whether the user checked the operationMultiply radio button. The rest is just straightforward JavaScript code.
Run the application and see how the result label automatically displays the result when the user interacts with the form.
Read now
Unlock full access