var json = {a : 1, b : 2, c: 3}; var jsonArr = []; for (i in json){ var wrap = []; wrap[0] = i; wrap[1] = json[i]; j...
分类:
Web程序 时间:
2014-07-10 10:41:10
阅读次数:
220
Reminder reminder = ScheduledActionService.Find("MY REMINDER") as Reminder;if ( reminder != null ) { ScheduledActionService.Remove("MY REMINDER");}...
分类:
其他好文 时间:
2014-07-10 10:37:36
阅读次数:
213
方法一:1 min-height:500px;/*解决ie8.9.ff.chromet*/2 height:100%;/*解决ie6.7*/3 _height:500px;/*解决ie6超出自动溢出*/View Code方法二:1 min-height:400px;/*解决ie8.9.ff.chro...
分类:
Web程序 时间:
2014-07-10 10:24:43
阅读次数:
280
开始-->所有程序-->Microsoft SQL Server 2008-->配置工具-->SQL Server 安装中心-->维护-->版本升级,接着按照提示一直点下一步,到产品密钥的时候输入-----开发版: PTTFM-X467G-P7RH2-3Q6CG-4DMYB -----企业版: JD...
分类:
数据库 时间:
2014-07-10 10:20:14
阅读次数:
251
这里主要利用A元素的伪类来实现:a:link {color: #FF0000} /* 未访问的链接 */a:visited {color: #00FF00} /* 已访问的链接 */a:hover {color: #FF00FF} /* 鼠标移动到链接上 */a:active {color: #00...
分类:
Web程序 时间:
2014-07-10 10:18:53
阅读次数:
338
src_dir=$(pwd)/All_hdst_dir=$(pwd)/Alldiff_dir=$(pwd)/diffif [ ! -d $diff_dir ]then mkdir $diff_dirfifor src_full_entry in $src_dir/*do src_cat_entry=...
分类:
其他好文 时间:
2014-07-10 10:07:49
阅读次数:
241
用法: char dst[256] = {0}; char *src = "src"; strncpy(dst, src, sizeof(dst) - 1);
分类:
其他好文 时间:
2014-07-10 10:06:37
阅读次数:
169
前一篇《关于selector性能比赛》中提到,目测觉得在$("div,p,a")这样有逗号时,sizzle耗时异常(600多个元素,花了200ms),说是它可能没有优化ie下的排序。按所推荐的程序在IE下跑了下,的确,排序耗时很小。1234567891011121314151617181920212...
分类:
Web程序 时间:
2014-07-10 00:58:12
阅读次数:
210
一.相关的代码1functiontest()2{3vartemp=document.getElementById("text1");4//对电子邮件的验证5varmyreg=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?...
分类:
Web程序 时间:
2014-07-10 00:56:56
阅读次数:
179
#include typedef int (__stdcall* FUN)(int);//定义函数指针,参数为Int,返回为int,调用约定__stdcallint __stdcall fun1(int x){ std::cout << x << std::endl; return x;...
分类:
其他好文 时间:
2014-07-10 00:45:12
阅读次数:
203