我想为我的浏览器制作最简单的书记。
javascript:document.getElementsByClassName( source ).style.visibility= visible ;
I have multiple div.source in my body. By default they are set to .source { display:none; }
with css.
My console tells me: Uncaught TypeError: Cannot set property display of undefined
当我点击这本书记册时,应该看看一看。 我在这里做了什么错误?