```html <br /> This is a JS applet example.<br /> <br /> Set "A" value and choose "Multiplier".<br /> <br /> Click on "Calculate" to perform the operation.<br /> <br /> <hr /> <br /> <div> <script> function mult(form) { var valA = form.A.value; var valM = form.M.value; form.AxM.value = valA*valM; } </script> <br /> <br /> <form name="multiply"> <br /> Number A: <input name="A" style="background-color: white; width: 100px;" value="0" /><br /> <br /> Multiplier : <select name="M" style="background-color: white; width: 100px;" value="2"> <option value="2">x2</option> <option value="4">x4</option> </select> <br /> <br /> <input name="Calc" onclick="mult(this.form)" style="width: 100px;" type="button" value="Calculate" /> <br /> <br /> <hr /> <br /> A x Multiplier = <input name="AxM" style="width: 95px;" value="" /> <br /> <br /> <br /> <br /></form> </div> ```
This is how it looks:
--------------------------------------------------
This is a JS applet example.
Set "A" value and choose "Multiplier".
Click on "Calculate" to perform the operation.