标签:
<body class="easyui-layout"> <div id = "centerId" data-options="region:‘center‘" style="padding:0px;background:#eee;"> <tiles:insertAttribute name="toolbar-productConfig" /> <div id="dataGrid"></div> <tiles:insertAttribute name="contentProduct" /> <tiles:insertAttribute name="contentProductEdit"/> </div> <div id = "eastId" data-options="region:‘east‘,iconCls:‘icon-reload‘,split:true" style="width:57%;" > <tiles:insertAttribute name="toolbar-productConfig-Detils" /> <div id="dataGridDetils" ></div> <tiles:insertAttribute name="contentDetils" /> <tiles:insertAttribute name="contentDetilsEdit" /> </div> <script src="${contextPath}/js/pages/systemSet/productConfig.js"></script> <script src="${contextPath}/js/pages/systemSet/dataGridDetils.js"> </script> </body>
$(‘#eastId‘).css("display", "inline");显示元素
document.getElementById("eastId").style.display="none";//隐藏元素
标签:
原文地址:http://www.cnblogs.com/tian830937/p/4800254.html