I am having trouble developing a calculator for my assignment
Here’s the assignment:
For this assignment, we are going to create a little calculator that adds, subtracts, multiplies or divides two numbers you enter into text boxes. As in your earlier assignment, you are going to create an HTML Form, with the two text boxes. However, this one will have 4 buttons representing the function to perform (add, subtract, multiply, divide). The first text box should accept an integer, as should the second text box. Instruct the user to enter integers into the text fields and select the operation. Finally, display the result either on the same page or in a message box. Write a JavaScript to perform these functions.
Note that you should keep the validation of integers you created in the earlier assignment. Also, it would be nice (hint) if you were to create two frames, one for the display of the buttons and text boxes, and the other frame for displaying the result. The frame feature is optional for this assignment
Needless to say I had trouble with previous validation of intergers!!!!
Thanks for help!
eostreet