2016-09-11 10 views
0
<!DOCTYPE html> 
<html> 
<head> 
    <title></title> 
    <style type="text/css"> 
     #b { 
      display: none; 
     } 
    </style> 
    <script type="text/javascript"> 
     document.getElementById("b").style.display = block; 
    </script> 
</head> 
<body> 
    <h1 id="b">Hello</h1> 
</body> 
</html> 

ここで間違っていることを知っている人はいますか? CSSをjavascriptで変更して表示しないでください。Hello助けてくれてありがとう!JavaScriptが変更されないCSS

+0

'.styleからアクセスしてください。