1.写一个div,使其class为white_content,uniteradioDIV为最上面的div,第二个div设置间隔,第三个div是主题内容。并设置好id,在最下面设置好 确定和关闭按钮
<div id="query_brand"class="white_content">
<div id="uniteradioDIV" >
请选择要合并到的商户:<br />
</div>
<div style="padding: 5px;height: 30px;"><!-- blank div --></div>
<br/>
<div style="border:1px solid #000;padding:5px">
<table id="branchsTable">
<tr>
<th><input type='checkBox' name='brandcheckBoxes' onchange="checkedAll()" /></th>
<th>名称</th>
<th>别名</th>
<th>专柜名称</th>
<th>专柜号</th>
</tr>
</table>
<br/>
</div>
<div style="padding: 5px;height: 50px;"><!-- blank div --></div>
<p style="text-align:center;">
<input type="button" value="确 定" onclick="addBrands()"/> &nbsp;&nbsp;&nbsp;
<input type="button" value="关 闭" onclick="closeQueryBrand()"/>
</p>
</div>
dojo.style("fade","display","block");
dojo.style("query_brand","block");
3.弹出窗隐藏代码
dojo.style("fade","none"); dojo.style("query_brand","none"); dojo.query('.queryShopData').forEach(dojo.destroy);//摧毁下次弹出不要的东西,创建的时候设置其class,然后根据class摧毁。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。