摘要: createTextRange[Huoho.Com编辑]版本:DHTML Object Model 返回值:有语法:oTextRange = object . createTextRange () 参数:无 返回值:oTextRange : 对象(Element)。如果成功的话返回被建立的 Tex... 阅读全文
posted @ 2009-09-08 11:51 直来直往 阅读(2113) 评论(0) 推荐(0) 编辑
摘要: KeyPress主要用来接收字母、数字等ANSI字符,而 KeyDown 和 KeyUP 事件过程可以处理任何不被 KeyPress 识别的击键,诸如:功能键(F1-F12)、编辑键、定位键以及任何这些键和键盘换档键的组合等。与 KeyDown 和 KeyUp 事件不同的是,KeyPress 不显示... 阅读全文
posted @ 2009-09-08 10:23 直来直往 阅读(624) 评论(1) 推荐(0) 编辑
摘要: 获得文本框的值:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->可以通过document.getElementsByName("inputValue")... 阅读全文
posted @ 2009-06-24 10:46 直来直往 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 1、对象的创建 (可以通过两种方法创建对象)方法一:通过构造函数创建对象在创建新对象之前,需要先构造其属性定义对象eg. 创建一个学生对象类型function student(name,age,grade){this.name = name;this.age = age;this.grade = g... 阅读全文
posted @ 2009-06-18 20:38 直来直往 阅读(139) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->sel_test思路:1、通过getElementById来获取ID为“channal_inde... 阅读全文
posted @ 2009-06-15 17:37 直来直往 阅读(735) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-06-12 17:32 直来直往 阅读(546) 评论(0) 推荐(0) 编辑