JS PHP,采用tp框架/* AJAX加载更多 */ public function ajax_more() {//实例化模型 $doctor_evalue_reply = M('doctor_evalue_reply');//获取ajax传值...
分类:
其他好文 时间:
2014-08-14 23:37:27
阅读次数:
197
怎样解决编译时出现内核提供的函数或变量没有定义,使用source insight搜索功能找到声明的头文件,然后包含该头件就行了:比如: error: implicit declaration of function 'copy_from_user' 解决:使用source insight搜索功...
分类:
系统相关 时间:
2014-08-14 23:31:56
阅读次数:
215
找到zepto源码:修改为如下代码:zepto.Z = function(dom, selector) { dom = dom || [] // 支持ie10,主要是支持wp8 if(window.attachEvent){ for(var func in $.fn){ dom...
分类:
其他好文 时间:
2014-08-14 23:18:26
阅读次数:
537
答案:javascript里的数据类型分为基本数据类型 和 引用数据类型两种,其中,基本数据类型包括5个:数值,字符串,布尔,null, undefined引用数据类型包括3个:array,function,object
分类:
编程语言 时间:
2014-08-14 23:08:37
阅读次数:
209
核心函数:cvPyrDown,cvCanny程序:#include"cv.h"
#include"cxcore.h"
#include"highgui.h"
#include<iostream>
#include"function.h"
intFindBorder_Canny(intargc,char**argv)
{
IplImage*src=cvLoadImage("e:\\picture\\11.jpg",0);
cvNamedWindow("src");
cvShowImag..
分类:
其他好文 时间:
2014-08-14 20:59:29
阅读次数:
396
1、JavaScript 方法:
[javascript]
document.onkeydown=function(event){
e = event ? event :(window.event ? window.event : null);
if(e.keyCode==13){
//执行的方法
...
分类:
Web程序 时间:
2014-08-14 20:38:39
阅读次数:
205
var Class = function(){ var klass = function(){ this.init.apply(this,arguments); } klass.prototype.init = function...
分类:
编程语言 时间:
2014-08-14 20:22:29
阅读次数:
220
JQuery众多常用方法中很经常会用到回调函数, 理解好jscallback函数定义及用法,我们就可以利用callback函数帮我们做很多事情啦!A callback is a function that is passed as an argument to another function an...
分类:
其他好文 时间:
2014-08-14 20:21:59
阅读次数:
199
//包括不能输入日文全家数字。util.validation.checkDate = function(str){// 2014/07/07 if (/^(?:[1-7][0-9]{3}\/(0[1-9]|1[012])\/(0[1-9]|[12][0-9]|3[01]))$/.test(str))...
分类:
编程语言 时间:
2014-08-14 20:19:09
阅读次数:
266
$.post('/aaaa/bbbb/cccc', { "paraName": value}, function (data) { Success(data); });
分类:
其他好文 时间:
2014-08-14 20:09:59
阅读次数:
198