OK, first off, this is a Java forum, not a JavaScript forum. There is a huge difference!
Java vs. JavaScript
Second, you want to use the "script" tag, not the "style" tag.
Third, your button isn't calling the "gettheresult()" function.
Fourth, you can't preform the operation while setting it equal to Option.
Fifth, your trying to add two strings, that is "6"+"4" will equal 64.
Sixth, you haven't told javascript to put the answer in the result box.
Seventh, even if you do get the result to display in the box, the way you are scripting this, the page will simply refresh and the result will be gone.
As far as what you did wrong, that is about it...
What you should do, is use a form to submit the data to javascript. You can then use javascript to stop the page from reloading.
Change your pick options to a simple word, letter, or symbol to represent the option. Then use an ifelse statement to figure out the operation.
Then use the pasreInt() function to to convert your string value into an integer value.
Preform the operation, and place the result in the result box.
Not to hard, your just going at it wrong...
