• js控制元素的显示与隐藏


      <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="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";//隐藏元素

  • 相关阅读:
    css圆,背景,img填满等样式
    MySQL双日志
    MySQL分层和查询数据的流程
    ZJNU 2345
    ZJNU 2342
    ZJNU 2340/2341/2343
    ZJNU 2235
    ZJNU 2226
    ZJNU 2212
    ZJNU 2208
  • 原文地址:https://www.cnblogs.com/tian830937/p/4800254.html
Copyright © 2020-2023  润新知