Do some math in one input upon entry of a number in another?

or move the button tag outside the form tag where its type defaults to button instead of submit.