You want document.getElementById("fontfamily").style.fontFamily;. Whenever you want to style an element using JavaScript, use .style then ...
確定! 回上一頁