nodejs 不需要单独安装服务器软件 tomcat 、apache、 iis看下面的代码创建了http服务器,并输出一些简单的响应内容//引入http 模块var http = require('http');//创建服务器并监听端口5000//createServer(function(req,...
分类:
Web程序 时间:
2015-09-29 21:45:18
阅读次数:
160
$(document).ready(function () { $(".content").each(function () { var content = $(this).html(); $(this).html(zDecodeEditor...
分类:
其他好文 时间:
2015-09-29 20:36:58
阅读次数:
151
css3的动画的animation-timing-function属性定义了动画的速度曲线,一般的速度曲线大家都知道,什么ease,linear,ease-in,ease-out,还有自定义贝塞尔曲线...定义了animation-timing-function后,动画就会按照定义的曲线来执行动画....
分类:
Web程序 时间:
2015-09-29 20:26:17
阅读次数:
154
Function GetVer(FilePathName As String) As String If FilePathName = Nothing Or FilePathName = "" Then FilePathName = App.Path & "\" & App.EX...
分类:
其他好文 时间:
2015-09-29 18:36:37
阅读次数:
136
Author: John Kozee'Purpose: Enumerate Label captions given a known hWnd'Date: June 12, 2004Option ExplicitPrivate Declare Function GetClassName Lib "u...
分类:
其他好文 时间:
2015-09-29 18:32:58
阅读次数:
258
function gplCaseList_store_success(response,options){ var responseArray = Ext.util.JSON.decode(response.responseText); //这里主要是取得新数据保存到客户端 ...
分类:
其他好文 时间:
2015-09-29 18:16:20
阅读次数:
121
以superagent为例1.设置lib目录requirejs.config({ baseUrl: 'libs' });2. 使用SuperAgent require(['superagent'], function (request) { var req = request.get(url); req.end(function (err, res) { ...
分类:
Web程序 时间:
2015-09-29 16:55:21
阅读次数:
150
function a(o){ function b(){ btn = btn++; } function c(){ btn = btn--; } if(o == 1) return b(); if(o == 0) return c(); }d...
分类:
Web程序 时间:
2015-09-29 16:47:20
阅读次数:
201
1、对象属性的删除function fun(){this.name = 'mm';}var obj = new fun();console.log(obj.name);//mmdelete obj.name;console.log(obj.name); //undefined2、变量不能删除var ...
分类:
其他好文 时间:
2015-09-29 16:43:36
阅读次数:
95
/** * 检查邮箱是否有效 * @param $email 要检查的邮箱 * @param 返回结果 */ function isemail($email) { return strlen($email) > 6 && preg_match("/^[\w\-\.]+@[\w\-\....
分类:
其他好文 时间:
2015-09-29 16:41:11
阅读次数:
174