定义"取消设置"的函数 怎么弄​

来源:4-1 编程挑战

慕慕8317024

2015-01-17 12:49

定义"取消设置"的函数 怎么弄

写回答 关注

3回答

  • qq_慕神1420022
    2022-04-11 20:11:07

    单词拼错了

    xvapnfl

  • Lanierlio_xuan
    2016-08-02 14:36:52

    object=document.getElementsById("id名")

    object.removeAttribute("attributename");attributename如"style"

    http://www.w3school.com.cn/jsref/met_element_removeattribute.asp

  • Erik_Song
    2015-01-17 13:18:07

    txt.removeAttribute('style');

JavaScript入门篇

JavaScript做为一名Web工程师的必备技术,本教程让您快速入门

738661 学习 · 9561 问题

查看课程

相似问题