innerHTML = “something”; :可以獲取或直接設置內容(包含html標籤) .value = “設定value” :獲取或直接設置value .style :css; attr ※和jquery的attr()不同
確定! 回上一頁