$(function(){ var make="ad"; var kaka="mon";
function show(a,b){ alert(a+"-"+b); } setInterval(function(){ show( make,kak...
分类:
其他好文 时间:
2014-07-22 23:17:35
阅读次数:
434
BOOL DrawFrameControl( HDC hDC, // 设备环境句柄 LPRECT
lpRect, // 矩形区域 UINT nType, // 控件类型 UINT nState // 控件状态);// 控件类型 uType
参数DFC_CAPTION = 1; // 标题DFC_ME...
分类:
其他好文 时间:
2014-07-22 23:17:13
阅读次数:
440
$.ajax({type:"get", url:"http://",
data:"name="+userid+"&password="+password,async:true,
error:function(request){alert("Connectionerror"); }, success:...
分类:
Web程序 时间:
2014-07-22 23:06:54
阅读次数:
373
安装过程如下性能测试结果:SET操作每秒钟 110000 次,GET操作每秒钟 81000
次,服务器配置如下:Linux 2.6, Xeon X3320 2.5Ghz.stackoverflow 网站使用 Redis
做为缓存服务器。安装过程:Redis是一种高级key-value数据库。它跟me...
分类:
其他好文 时间:
2014-05-01 15:20:09
阅读次数:
375
var isValid = $("#divId").Form("validate"); if(
isValid ){ alert("验证通过"); } else{ alert("验证失败"); }
分类:
其他好文 时间:
2014-05-01 15:09:20
阅读次数:
337
1、实现内容
定义一个简单的jquery插件,alert传递进来的参数2、插件js文件(jquery.showplugin.js)(function ($) {
//定义插件中的方法 var methods = { //Object showName: function ...
分类:
Web程序 时间:
2014-05-01 08:09:02
阅读次数:
403
bind(type,[data],fn)
为每个匹配元素的特定事件绑定事件处理函数$("a").bind("click",function(){alert("ok");});live(type,[data],fn)
给所有匹配的元素附加一个事件处理函数,即使这个元素是以后再添加进来的$("a").l...
分类:
Web程序 时间:
2014-05-01 01:29:08
阅读次数:
441
内容 内容 内容内容$("span").click(function(){
alert($(this).index()+1);});
分类:
Web程序 时间:
2014-05-01 00:10:00
阅读次数:
463
链接:http://soj.me/show_problem.php?pid=1007
Description
Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letter...
分类:
其他好文 时间:
2014-04-29 13:23:21
阅读次数:
293
This articles will show how to avoid the leak of the memory in c++, I just use this articles to summerise something, and show how awesome my English is. If someone need Chinese version, just told me....
分类:
编程语言 时间:
2014-04-27 22:22:19
阅读次数:
430