First, you create the element by document.createElement . To set its text contents, you have to have a "text node" wrapping your text.
確定! 回上一頁