摘要: 用于包含javascript代码.语法属性LANGUAGE 定义脚本语言SRC 定义一个URL用以指定以.JS结尾的文件 windows对象每个HTML文档的顶层对象.属性frames[] 子桢数组.每个子桢数组按源文档中定义的顺序存放.feames.length 子桢个数.self 当前窗口.pa... 阅读全文
posted @ 2009-01-22 15:34 hank001 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 实用JavaScript事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture();event.srcElement.releaseCapture(); 事件按键 event.keyC... 阅读全文
posted @ 2009-01-22 15:27 hank001 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 正则表达式在字符串处理上有着强大的功能,sun在jdk1.4加入了对它的支持下面简单的说下它的4种常用功能:查询:Stringstr="abcefgABC";StringregEx="a|f";//表示a或fPatternp=Pattern.compile(regEx);Matcherm=p.mat... 阅读全文
posted @ 2009-01-22 11:25 hank001 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键no 可用于Table2. 取消选取、防止复制3. onpaste="return false" 不准粘贴4. oncopy="return false;" oncut="retu... 阅读全文
posted @ 2009-01-22 11:16 hank001 阅读(144) 评论(0) 推荐(0) 编辑
摘要: To read and update, create and manipulate an XML document, you will need an XML parser.你需要通过一个XML解析器来阅读、更新、创建和操作一份XML文件。 Examples实例Parse an XML file -... 阅读全文
posted @ 2009-01-22 10:51 hank001 阅读(160) 评论(0) 推荐(0) 编辑