How to make an html form start a function
问题 I'm wondering if there is an easy way to make a form button with text input start a form that will check if the answer's correct and then proceed to tell you. Here's what I have, can you tell me what I need? <!doctype html> <body> <center> <form name="Input" action="Answer" method="get"> <input type="text" name="Input"> <input type="submit" value="submit"> </form> <script type="text/javascript"> var A = Math.floor(Math.random()*11); var B = Math.floor(Math.random()*11); var C = A+B; var Input