码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
leetcode 100 Same Tree
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:其他好文   时间:2015-06-12 10:02:42    阅读次数:90
php调用empty出现错误Can't use function return value in write context
php调用empty出现错误Can't use function return value in write context2012-10-28 09:33:22 |11391次阅读 |评论:0条|itokit今天的一个简单程序:C/C++ Code复制内容到剪贴板protectedfunction...
分类:Web程序   时间:2015-06-12 09:52:12    阅读次数:132
JavaScript中产生标识符方式的演变
本文记录下JS中产生标示符方式的演变,从ES5到ES6,ES5及其之前是一种方式,只包含两种声明(var/function),ES6则增加了一些产生标识符的关键字,如 let、const、class。一、ES5时代varfunction我们知道 JS 不象其它语言 Java、Ruby等,它用来命名变...
分类:编程语言   时间:2015-06-12 07:34:20    阅读次数:162
jquery Ajax请求中显示Loading...
jquery Ajax请求中显示Loading... $('#btnTest').click(function(){$.ajax({url ---- ,根据你需要设置url路径 type:'post', data:'name=Test', timeout:15000, beforeSend:func...
分类:Web程序   时间:2015-06-12 06:24:41    阅读次数:264
分享关于js解析URL中的参数的方法
function GetQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"); var r = window.location.search.substr(1).match(reg); ...
分类:Web程序   时间:2015-06-12 06:22:40    阅读次数:103
ztpto图片轮播
(function($){/* 图片滚动效果 add 2014-05-14 by js明哥哥 博客地址:http://home.cnblogs.com/u/huzhiming/ @jQuery or @String box : 滚动列表jQuery对象或者选择器 如:滚动...
分类:其他好文   时间:2015-06-12 06:22:16    阅读次数:125
js Array 数组方法扩展
//去重复 Array.prototype.unique = function() { this.sort(); var re=[this[0]]; for(var i = 1; i < this.length; i++) { if( this[i] !== re[re.length-1]) { re.pu...
分类:编程语言   时间:2015-06-12 01:01:27    阅读次数:159
设计模式:二
php面向对象设计模式中,工厂模式,从字面中我们大可以理解为,工厂就是反复的生产,而在设计模式中也可以如此理解, <?php header("Content-Type:text/html; charset=utf8"); /** * php设计模式 * 二:工厂模式 * */ // 定义接口DB类 interface DB{ function conn(); } class...
分类:其他好文   时间:2015-06-12 01:00:29    阅读次数:73
作用域3—JS学习笔记2015-6-11(第55天)
复习作用域,彻底的理解js的运行机制;首先在js代码运行之前,会进行预解析,至少会进行2步:1、找一些东西——> var、function、参数等关键字,在js运行之前会给他们一些相应的动作 比如变量会赋值 undefined;函数的内容就整个函数块; 如...
分类:Web程序   时间:2015-06-12 00:50:00    阅读次数:150
Cryptography - JavaScript 加密算法库
Example 1: The following example uses aes function.Example 2: The following example uses aes function with passphrase.Example 3: The following example...
分类:编程语言   时间:2015-06-12 00:33:14    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!