url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求超...
分类:
Web程序 时间:
2014-07-14 22:57:44
阅读次数:
276
数组是有序数据的集合,数组中的每一个元素具有同样的数组名和下标来唯一地确定数组中的元素。1. 一维数组1.1 一维数组的定义type arrayName[];type[] arrayName;当中类型(type)能够为Java中随意的数据类型,包含简单类型组合类型,数组名arrayName为一个合法...
分类:
编程语言 时间:
2014-07-14 22:53:53
阅读次数:
289
Clustered and Secondary Indexessecondary index A type of InnoDBindexthat represents a subset of table columns. An InnoDB table can have zero, one, or....
分类:
其他好文 时间:
2014-07-14 22:10:15
阅读次数:
351
SQL0752N Connecting to a database is not permitted within a logical unit ofwork when the CONNECT type 1 setting is in use. SQLSTATE=0A001解释:发出 COMMIT ...
分类:
数据库 时间:
2014-07-14 21:33:15
阅读次数:
332
{loop subcat(0,0,0,$siteid) $r}{/loop}
/**
* 获取子栏目
* @param $parentid 父级id
* @param $type 栏目类型
* @param $self 是否包含本身 0为不包含
* @param $siteid 站点id
*/
function subcat($parentid = NULL, $...
分类:
Web程序 时间:
2014-07-14 20:30:49
阅读次数:
522
移除事件 unbind(type [,data]) //data是要移除的函数 $('#btn').unbind("click"); //移除click $('#btn').unbind(); //移除所有 对于只需要触发一次的,随后就要立即解除绑定的情况,用one() $('#btn').one(...
分类:
Web程序 时间:
2014-07-14 19:45:27
阅读次数:
333
文件上传框有时候,需要用户上传自己的文件,文件上传框看上去和其它 文本域差不多,只是它还包含了一个浏览按钮。访问者可以通 过输入需要上传的文件的路径或者点击浏览按钮选择需要上传 的文件。 代码格式:<input type=“file” name=“...” size=“15” input encty...
分类:
Web程序 时间:
2014-07-14 19:10:52
阅读次数:
294
//这里以created字段为例子
function Hook_form_alter($form,$form_state,$form_id){
$form['created']['#type'] = 'date_popup';
$form['created']['#date_format'] = 'Y-m-d';
$form['created']['#size'] =...
分类:
其他好文 时间:
2014-07-14 17:29:48
阅读次数:
257
原文地址:http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Basic-Project
3、Basic Project(基本项目)
一个Gradle项目的构建过程定义在build.gradle文件中,位于项目的根目录下。
3.1 Simple build files(简单的构建文件)
...
分类:
移动开发 时间:
2014-07-14 17:24:31
阅读次数:
374
http://pan.baidu.com/s/1mg1EYAOwindows各种版本map.centerAndZoom(point,15);这句话可以指向地图的不同位置百度云http://developer.baidu.com/map/jsdemo.htm#i1_1?qq-pf-to=pcqq.c2c1百度云粉丝http://yun.baidu.com/share/home?uk=1814500964&view=share#category/type..
分类:
数据库 时间:
2014-07-14 16:41:20
阅读次数:
364