document.write("hello");是原樣輸出"hello" ?
document.getElementById("p1").style.color="blue"; ? 這句是找到ID為"p1"的內容,并將p1中的內容的樣式設為藍色
document.write("hello");是原樣輸出"hello" ?
document.getElementById("p1").style.color="blue"; ? 這句是找到ID為"p1"的內容,并將p1中的內容的樣式設為藍色
2014-10-09
舉報