<div class="listpage_content" style="display:none">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr id="exinList" style="background:#dcdcdc; font-weight:bold;">
<th param="goodsName" link="1" width="16%">商品名称</th>
<th param="sku" link="1" width="10%">sku</th>
<th param="style" width="7%">款</th>
<th param="colorName" width="7%">色</th>
<th param="actualSize" width="7%">码</th>
<th param="quantity" width="10%">数量</th>
<th param="quanlity" width="15%">品相</th>
</tr>
</table>
<div id="bdskPageFoot" class="page_container"></div>
</div>
10 个 这种的div?
我也知道 可是具体该怎么写 ?我自己写过 没写对
追答把所有的div都设个id或是name,在js中使用document.getElementById("要隐藏或显示的div的id")获取div的对象,设置style里面的display属性。。。。。。。。。。。。document.getElementById("要显示的div的id").style.dispaly="block" document.getElementById("要隐藏的div的id").style.dispaly="none";