課程
/前端開發
/JavaScript
/JavaScript入門篇
定義"取消設置"的函數 怎么弄
2015-01-17
源自:JavaScript入門篇 4-1
正在回答
object=document.getElementsById("id名")
object.removeAttribute("attributename");attributename如"style"
http://www.w3school.com.cn/jsref/met_element_removeattribute.asp
txt.removeAttribute('style');
舉報
JavaScript做為一名Web工程師的必備技術,本教程讓您快速入門
2 回答//定義取消設置函數
1 回答定義取消設置”的函數
1 回答定義"取消設置"的函數
3 回答定義“取消設置”的函數問題
3 回答定義"取消設置"的函數
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-08-02
object=document.getElementsById("id名")
object.removeAttribute("attributename");attributename如"style"
http://www.w3school.com.cn/jsref/met_element_removeattribute.asp
2015-01-17
txt.removeAttribute('style');