我在页面上放置了一个html按钮,我想隐藏或显示一个控件。但下面的代码无法正常工作html输入按钮onclick =显示:无
<input type="button" name="Button1" value="Show/Hide Phonetics Search" onclick="document.getElementByID('MSOZoneCell_WebPartWPQ7').style.display='none';" style="width: 225px; height: 40px;"/>
你的代码在哪里? – 2013-05-02 19:10:56