2009-12-29から1日間の記事一覧
getter onlyのプロパティみたいなので document.getElementById("hoge").style = "display:block"; みたいなことはできない。 document.getElementById("hoge").setAttribute("style", "display:block"); のようにsetAttributeを使うとよさげ
getter onlyのプロパティみたいなので document.getElementById("hoge").style = "display:block"; みたいなことはできない。 document.getElementById("hoge").setAttribute("style", "display:block"); のようにsetAttributeを使うとよさげ