0
How to display the output in the output box? Even the document.write
6 Answers
+ 1
Instead of .value use .innerHTML to change text of an element
+ 1
Sorry that was a mistake
+ 1
It depends on the code that was given e.g. alert("test"); doesnt return anything so it will be undefined but 4+5 returns 9
0
What's .text?
0
It is displaying Undefined
0
thank you