Using a variable instead of a string: var x = 10; document.getElementById("insert").innerHTML = x;. You can use a similar process for non-text HTML elements ...
確定! 回上一頁