+ 9
Hi,l want the result to be in field below the button"Result" but it is displayed above. What I have to write? Thank You.
2 Respuestas
+ 8
Thanks, Mariano Fregosi
+ 3
Hi, first of all change te id value, because AB has been already used on a <p> tag.
Second use .value instead .innerHTML
<input type="text" name="AB" id="AB2" readonly="readonly"/>
document.getElementById("AB2").value = "AB="+AB