Back to Tutorial Paste Your Code here! <!DOCTYPE html> <html> <head> <title>Multiplication Two Numbers Using Javascript.</title> </head> <body> <h1>Multiplication Two Numbers Using Javascript.</h1> <div class="controls"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="form_name">First Number: *</label> <input id="box1" type="text" class="form-control" oninput="multiplication_calculate();" placeholder="5"/> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="form_name">Second Number: *</label> <input id="box2" class="form-control" type="text" oninput="multiplication_calculate();" placeholder="5"/> </div> </div> </div> <div class="row"> <div class="col-md-12"> <div class="form-group"> <label for="form_name">Result: *</label> <input id="result" class="form-control" readonly placeholder="5 x 5 = 25"/> </div> </div> </div> </div> <script> function multiplication_calculate() { var myBox1 = document.getElementById('box1').value; var myBox2 = document.getElementById('box2').value; var result = document.getElementById('result'); var myResult = myBox1 * myBox2; document.getElementById('result').value = myResult; } </script> </body> </html> Output