首页 试题广场 > 试题详情
多选题

【2017Web前端面试题】页面有一个按钮button id为 button1,通过原生的js如何禁用?(IE 考虑IE 8.0以上版本)

  • A.document.getElementById("button1").readolny= true;
  • B.document.getElementById("button1").setAttribute(“readolny”,”true”);
  • C.document.getElementById("button1").disabled = true;
  • D.document.getElementById("button1").setAttribute(“disabled”,”true”);
提交并查看答案
下一题 上一题
Ke星伙伴们的回答/ 9个回答
贡献榜
相关试题
关闭
关闭
QQ
交流群
邀请
好友
App
下载
意见
反馈
返回
顶部