- 博客(9)
- 资源 (14)
- 收藏
- 关注
转载 设置input的只读属性
<br />input.readOnly = "true";<br /> input.setAttribute("readOnly","true");<br />http://azhp.blog.163.com/blog/static/47736718200871995313811/
2010-10-27 17:04:00 1565
原创 子页面调用父页面【子页面与父页面间的调用】
window.dialogArguments.datasetRu.flushData();window.dialogArguments 即为父窗口window对象的引用。想搞什么都可以了。前提是传递了window这个参数
2010-10-27 11:03:00 745
原创 current_date 数据库中可以定义current_date的值
<br /> select * from PROJECT a where a.usrid ='1409'and a.frdate <= current_date<br /> <br />红色标示的current_date不是外界的参数,是数据库级别定义的。
2010-10-26 11:09:00 2240
原创 二目运算
<br />flag = (String)People.high.get(flag)!=null?(String)People.high.get(flag):"";
2010-10-21 08:51:00 1585
转载 保存时主页面浮动窗口闪烁的提示信息
<br />//保存时主页面浮动窗口闪烁的提示信息function _shanshuo_message_format(message,totalcount,imagePath){ if(totalcount>0){ shanshuo(message,0,totalcount*2,imagePath); }else{ alert("闪烁次数必须大于零!"); }}function shanshuo(message,controlCount,totalcou
2010-10-12 16:27:00 883
转载 FrameTab的contentWindow
<br />curTab.setPath("about:blank"); curTab.getFrame().contentWindow.location.href= "about:blank";
2010-10-12 16:05:00 742
原创 DIV 层的使用
<br />JSP页面下添加DIV:<br /><d:Pane><br /> <div class="hint" width="100%" id="divErr" style="display:none;color='red'"></div> <br /></d:Pane><br /> <br />脚本端设置:<br /> divErr.style.display = "inline"; // 设置层的显示前后没有换行<br /> divErr.innerHTM
2010-10-09 16:00:00 699
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人