在页面上有一个id为room的文本框,下面选项()能够实现当单击room时,room的背景颜色变为“#cccccc”。


input id=room type=text onfocus=this.style.backgroundColor=#cccccc /

input id=room type=text onfocus=this.backgroundColor=#cccccc /

input id=room type=text onblur=this.style.backgroundColor=#cccccc /

input id=room type=text onblur=this.backgroundColor=#cccccc /


点击这里跳转到答案查看网获取答案