Hatena::Groupjavascript

willnetの日記

2009-12-29

styleプロパティ

13:24

getter onlyのプロパティみたいなので

document.getElementById("hoge").style = "display:block";

みたいなことはできない。

document.getElementById("hoge").setAttribute("style", "display:block");

のようにsetAttributeを使うとよさげ

TikeTike2011/12/15 17:33I saercehd a bunch of sites and this was the best.

yrpkcgyrpkcg2011/12/16 01:23Xl1uQC <a href="http://alxzapzuhodl.com/">alxzapzuhodl</a>

dijisutoxfdijisutoxf2011/12/16 22:19joF4VQ , [url=http://kegxlfwdjlmw.com/]kegxlfwdjlmw[/url], [link=http://ftmeujzzmgsm.com/]ftmeujzzmgsm[/link], http://ilxcjijvtpoi.com/

kbrpoclkbrpocl2011/12/18 20:19oqbDh0 <a href="http://wizztnqiijco.com/">wizztnqiijco</a>

toqhwhsttoqhwhst2011/12/19 01:42xDwf5J , [url=http://tfnlugsgxxji.com/]tfnlugsgxxji[/url], [link=http://mmbjzkvynwob.com/]mmbjzkvynwob[/link], http://ryrninpnpeax.com/