![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
文章平均质量分 81
不作死就不会si
持续fighting
展开
-
window.showModalDialog 的子页面中DTree树不能用
问题:在父页面A.html有个window.showModalDialog方法弹出一个页面B.html, B.html中有个DTree树,树加载成功了,但就是不能使用 解决方案:在子页面中 加入<base target="_self" />就可以。说 明:<base> 标签为页面上的所有链接规定默认地址或默认目标。通常情况下,浏览器会从当前文档...原创 2012-02-08 18:44:53 · 82 阅读 · 0 评论 -
jsp页面 添加回车键事件 调用查询方法
jsp页面 添加回车键事件 调用查询方法onkeydown="if (event.keyCode==13){queryInfo();};"原创 2012-02-23 21:59:55 · 592 阅读 · 0 评论 -
javascript 通过children 获取表格内部的标签内容
通过children[n]、childNodes[n]来获取表格内的标签值 <div id="tupian"><table cellpadding="0" cellspacing="1" border="0" width="100%" id="table1"><tr operTab(this)&2012-02-28 15:30:04 · 1165 阅读 · 0 评论 -
javascript 实用技巧
1.根据后台返回值隐藏图层 style="${resultMsg==null ? 'display:none':'display:block'}"原创 2012-03-30 15:07:29 · 83 阅读 · 0 评论