個個定義的函數
"改變顏色"obj.style.color="blue";obj.style.backgroundColor="#ccc" ; "改變寬高"obj.style.width="300px";obj.style.height ="300px"; "隱藏內容"obj.style.display="none"; "顯示內容"obj.style.display="block"; "取消設置"if(confirm("是否取消設置?"))obj.removeAttribute("style");
2017-05-27
function()
{
}
? 函數不就是這樣定義的嗎?需要這個功能就去調用相對應功能的函數。
2017-06-03
不客氣,共同進步