![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
文章平均质量分 77
riso8371
这个作者很懒,什么都没留下…
展开
-
创建一个新表
oTBody.rows.length; var oTR=oTBody.insertRow(row); var oProInf=oTBody.rows[row].insertCell(0); var oPro=document.createElement("input"); oPro.setAttribute("type","text"); oPro.se原创 2008-12-06 10:48:32 · 85 阅读 · 0 评论 -
40种Javascript中常用的使用小技巧
可用于Table2. < body onselectstart="return false"> 取消选取、防止复制3. onpaste="return false" 不准粘贴4. oncopy="return false;" oncut="return false;" 防止复制5. < link rel="Shortcut Icon" href="favico原创 2008-12-06 10:51:09 · 63 阅读 · 0 评论 -
JS函数集
校验字符串是否为整型: checkIsInteger(str)校验整型最小值: checkIntegerMinValue(str,val)校验整型最大值: checkIntegerMaxValue(str,val) 校验整型是否为非负数: isNotNegativeInteger(str)校验字符串是否为浮点型: checkIsDoubl原创 2008-12-06 11:09:44 · 63 阅读 · 0 评论 -
表格动态添加行操作
ed将“text的值存入另一text中”。如果此事件写入后台代码,将得不到。因为被postback掉了。 故先存,再运行后台代码。 2。在html中有一table,名字为filetb。 如果需要动态修改,在table里添加literal.text. */ var allCount; allCount=0; function addAttachment() {原创 2008-12-06 11:12:11 · 59 阅读 · 0 评论 -
用Iframe实现摸拟屏蔽
111111111111111111v1111111111111111111111111111111111 var dialog = new DialogClass(); function demo() { dialog.show(); //解决楼下老兄提的问题 window.focus(); //5秒以后关闭:dialog.close(); setTimeout("dialog.close()",5000);}原创 2008-12-06 11:19:58 · 84 阅读 · 0 评论 -
dhtmlXTree 指南与实例
解析) 拖拽(同1个树,差别的树之间,差别的框架之间) 带多选框(CheckBox)的树(两态/三态) 定制图标(使用JavaScript或xml) 内容菜单(与dhtmlxMenu集成) 结点数据为用户数据 多行结点 高不改变性别 支持Macromedia Cold Fusion 转自:http://blog.csdn.net/Colin_Bin/archellove/2008/10/29 /3166205.aspx 支持Js原创 2010-11-02 11:22:16 · 131 阅读 · 0 评论