Question: Add a function expression that clears the entries in the four text boxes, and assign it to a variable named clearEntries. Then, add a statement
Add a function expression that clears the entries in the four text boxes, and assign it to a variable named clearEntries. Then, add a statement in the onload event handler that attaches the clearEntries function to the click event of the Clear Entries button.
Add a statement to the onload event handler that attaches the clearEntries function to the double-click event of the investment text box. Then, test this change.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
