window.parent.xxxxx(); // xxxxx()は、親ページの方法を表します
easyUIの右クリックとクリックイベントなど、特定の列は次のとおりです。
parent.jsp
ボディコードの一部
<body> <! - left Directory-> <div data-options: 'west'、split:true、tult: 'theme'、iconcls: 'icon-arrowin' "> <! - > <ul id =" tree "> </ul> </div> <input type =" hidden "value =" data-options = "region: 'center'、title: 'content display'、iconcls: 'icon-arrowout'" style = "overflow:hidden"> <iframe name = "leftiframe" leftiframe "src =" "frameborder =" 0 ""> </iframe> </div onclick = "updateTheem();" data-options = "iconcls: 'icon-edit'"> modify </div> <div onclick = "remaobjectNode();" data-options = "iconcls: 'icon-tip'"> delete </div> </div> <script type = "text/javascript"> loadtree(); </script> </body>
JSパート:
function loadtree(){$( '#tree')。tree({url: 'xxxxx.action、animate:true、lines:true、oncontextmenu:function(e、node){e.preventdefault(); $(this).tree(' Select '、node.target); $(getparent '、node.targe); }、onclick(node){//スタンドアロン型= node.attype; } child.jsp/ ***左のテーマを更新*/ $(function(){window.parent.loadtree();})