<!DOCTYPE html> <html> <body> <form oninput="op.value = x.valueAsNumber + y.valueAsNumber"> <input name="x" type="number" >+ <input name="y" type="number" >= <output name="op" for="x y"></output> </form> </body> </html>
Run
×
Share