节点的唯一标识是:ID,不是文本,不能靠文本来定位节点,最多是遍历树找到所有的符合节点.再决定选择哪个2.你已经得到了一个树的实例,如:tree,
用top.treeframe.tree可以得到树的引用,为所欲为啦
用top.treeframe.tree可以得到树的引用,为所欲为啦
解决方案 »
- jquery append方法无效
- 问一下正则(在ultraedit中替换)
- javascript onmouseout 事件问题请教
- 如何解析被压缩过的Js文件?eval(function(p,a,c,k,e,d){.....,{}))
- 在applet装载失败时候,如何实现Sets the optional alternative HTML script to execute if the object fails to load.
- 关于播放器问题麻烦有经验的人来指教我一下---小弟在这里谢谢了~
- 为什么一提交, 按钮就不能变灰了 @_@ 在线等
- 如何屏蔽系统右键菜单,显示自己的菜单?
- window.open()的超级问题,多次用window.open()竟出现多个窗口,所有个参数一样
- Function.prototype 为何没有 prototype 属性?
- 设置快捷键一点反应都没有。
- 简单传值问题
function doOrgGuardSave()
{
thisForm.action="OrgGuardSave.jspa";
thisForm.method="post";
parent.document.OrgMainBoardLeft.location.reload();
parent.document.OrgMainBoardLeft.top.treeframe.tree.focus("73");
thisForm.submit();
}
页面代码:
<tr>
<td align="center" valign="top">
<iframe id="OrgMainBoardLeft" name="OrgMainBoardLeft" src="${base}/org/OrgGuardLeft.jspa" frameborder="0" marginheight="0" marginwidth="0" width="100%" HEIGHT="600" scrolling="auto"></iframe>
</td>
<td align="center" valign="top" width="90%">
<iframe id="OrgMainBoard" name="OrgMainBoard" src="OrgMainBoardMain" frameborder="0" marginheight="0" marginwidth="0" width="100%" HEIGHT="600" scrolling="auto"></iframe>
</td>
</tr>