2008年3月21日
摘要: 定义类的两种基本方式: (1) 利用函数构造类型。 function Foo(text, url) { this.text = text; this.url = url; this.render = function() { document.write('' + this.text + ''); } } 阅读全文
posted @ 2008-03-21 16:00 romce 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 在原有Repeater中嵌套Repeater: 阅读全文
posted @ 2008-03-21 12:56 romce 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 表格 表格由 标签来定义。每个表格均有若干行(由 标签定义),每行被分割为若干单元格(由 标签定义)。字母 td 指表格数据(table data),即数据单元格的内容。数据单元格可以包含文本、图片、列表、段落、表单、水平线、表格等等。 阅读全文
posted @ 2008-03-21 12:45 romce 阅读(945) 评论(0) 推荐(0) 编辑
摘要: '过滤SQL非法字符并格式化html代码 function Replace_Text(fString) if isnull(fString) then Replace_Text="" 阅读全文
posted @ 2008-03-21 12:30 romce 阅读(3870) 评论(0) 推荐(0) 编辑