- 博客(10)
- 资源 (18)
- 收藏
- 关注
原创 JavaScript高级程序设计学习笔记4: 创建对象
1、混合的构造函数/原型方法用构造函数定义对象的所有非函数属性,用原型方式定义对象的函数属性(方法),结果所有函数都只创建一次,而每个对象都具有自己的对象属性实例。transitional.dtd">混合的构造函数/原型方法 function Car(sColor, iDoors, iMpg) { this.color = sColo
2010-01-29 16:02:00 640
原创 JavaScript高级程序设计学习笔记3: Math对象比较常用的几个方法
方法min():判断一组数中的最小值方法max():判断一组数中的最大值方法ceil():向上舍入函数,总是把数字向上舍入最接近的值方法floor():向下舍入函数,总是把数字向下舍入最接近的值方法round():标准的传入函数,如果数字与下一个整数的差不超过0.5,则向上舍入,否则向下舍入,也就是四舍五入。方法random():返回一个0到1之间的随机数,不包括0和1。
2010-01-29 16:01:00 652
原创 JavaScript高级程序设计学习笔记2: 模拟函数重载
用arguments对象检测传递给函数的参数个数:arguments.lengthfunction test(){ if(arguments.length == 1) alert(arguments[0] + ",你好"); else if(arguments.length == 2) alert(arguments[0] + "
2010-01-29 11:36:00 594
原创 JavaScript高级程序设计学习笔记1: 基础
JavaScript高级程序设计学习笔记1: 基础一、语法:1、区分大小写。2、变量是弱类型。3、每行结尾的分号可有可无。 如果没有分号,以这行代码的结尾看作该语句的结尾。二、变量1、同一个var语句可以定义多个变量,而且不必具有相同的类型。 如: var test = "hi", age = 25;2、变量
2010-01-29 10:48:00 730
转载 全世界最短的IE判定
转自:http://www.cnblogs.com/rubylouvre/archive/2010/01/28/1658006.html 以前最短的IE判定借助于IE不支持垂直制表符的特性搞出来的。var ie = !+"/v1";仅仅需要7bits!参见这篇文章,《32 bytes, ehr ... 9, ehr ... 7!!! to know if your browse
2010-01-28 14:01:00 1023 4
原创 C# Dictionary学习
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using S
2010-01-22 16:24:00 2345
原创 PL/SQL developer 显示所有数据
英文版的:Edit--PL/SQL Beautifier Options--Window Types--SQL Window--Records per Page--All records
2010-01-20 14:31:00 2117
原创 网上找的一个表单验证类及使用例子(稍微修改了下)
test.html 无标题页 密码 password 密码确认 confirm 英文 english 4~10个字
2010-01-15 15:47:00 886
原创 SQL 每个分类各取2条数据
create table tb (ptoid int,proclassid int,proname varchar(10))insert tbselect 1,1,衣服1union allselect 2,2,衣服2union allselect 3,3,衣服3union allselect 4,3,衣服4union allselect 5,
2010-01-05 19:05:00 2462
原创 JS 替换日期的横杠为斜杠
replace语法 stringObj.replace(rgExp, replaceText)replace 方法的语法包括下述部分:部分 描述stringObj 必选项。要执行该替换的 String 对象或文字。该对象不会被 replace 方法修改。 rgExp 必选项。描述要查找的内容的一个正则表达式对象。 replaceText 必选项。是一个Stri
2010-01-04 10:42:00 5770
PL/SQL美化器规则文件,用于格式美化sql语句
2022-06-09
开源.NET FTP组件edtFTPnet.dll
2013-09-26
HTML解析工具Html Agility Pack v1.4.6
2013-09-18
文件比对工具WinMerge v2.14
2013-09-18
SQLite数据库管理工具SQLiteStudio 2.1.4
2013-09-18
.net程序反编译工具ILSpy 2.1
2013-09-18
读写Excel的组件npoi
2013-07-26
CnPlugin_1.5.4.rar
2013-04-16
winform制作的精美时钟
2013-03-08
winform 为图片添加当月的日历并设为壁纸
2013-02-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人