刚学会使用Jquery的Easy Ui,现在我想实现一个功能,就是使用Easy Ui的Tree在西边显示导航,在中间显示查询的值。但是我用HTML的锚标记不能实现!!请问怎么实现啊!!

解决方案 »

  1.   

    <body class="easyui-layout">
    <div region="north" border="false"
    style="height: 60px; background: #B3DFDA;">
    <center><h1>查询测试</h1></center>
    </div>
    <div region="west" split="true" title="West"
    style="width: 150px; padding: 10px;">
    <ul id="tt1" class="easyui-tree"> 
      <li>
       <span>查找</span> 
       <ul> 
         <li><span><a href="newsaction!findAll#show" target="_self">查询所有</a></span></li>
       <li><span>按标题查询</span></li>
       <li><span>按作者查询</span></li>
       <li><span>按id查询</span></li> 
       </ul> 
      </li> 
    </ul> 
    </div>
    <div region="center" title="Main Title">
    <table id="tt" name="show" class="easyui-datagrid"
    style="width: 1200px; height: 450px" title="load Data"
    iconCls="icon-save" rownumbers="true" pagination="true">
    <thead>
    <tr>
    <th field="nid" width="80">
    新闻ID
    </th>
    <th field="title" width="80">
    新闻标题
    </th>
    <th field="creator" width="80">
    新闻作者
    </th>
    <th field="content" width="80">
    新闻内容
    </th>
    </tr>
    </thead>
    </table>
    </div>
    </body>代码啊....大神啊!!!