在js中给某个标签/元素设置背景色

document.getElementById("hideContent").style.background="#DDDDDD";

 

posted @ 2020-07-02 15:10  卧虎  阅读(3506)  评论(0编辑  收藏  举报