Instead, I should have created the link element first, added HTML to it, and then run appendChild. This is illustrated in the code below, which WORKS:
確定! 回上一頁