I have a function that creates a string and I would like for it to be displayed in a textbox on the page. I cannot understand why this does not work.
HTML:
<input id="poNum" type="text" name="PO" id="PO" style="width: 310px;" readonly />
JS:
document.getElementById("poNum").innerHTML = number;