css - html Input Button onclick=display:None -
i placed html button on page , want hide or show control. following code not working
<input type="button" name="button1" value="show/hide phonetics search" onclick="document.getelementbyid('msozonecell_webpartwpq7').style.display='none';" style="width: 225px; height: 40px;"/>
it's getelementbyid
(lower-case d
, case-sensitive).
Comments
Post a Comment