码迷,mamicode.com
首页 >  
搜索关键字:reference value    ( 43034个结果
php 计算两个时间的差
要计算两个时间的差需要把两个时间都转换(strtotime)为时间戳格式(单位秒)floor(value) : 返回不大于value的下一个整数ceil(value) : 返回不小于value的下一个整数round(value,precision) : 对value进行四舍五入 ,precision...
分类:Web程序   时间:2014-06-27 18:42:49    阅读次数:255
yii gridview columns value 内容如何换行 & 链接
array( 'header' => '返回的服务器信息', 'name' => 'return_server_info', 'value' => 'str_replace("^", "", $data->return_server...
分类:其他好文   时间:2014-06-27 17:58:17    阅读次数:175
关于userInteractionEnabled的属性的理解
userInteractionEnabledA Boolean value that determines whether user events are ignored and removed from the event queue.译:一个布尔值,它决定了是否用户触发的事件被该视图对象忽略和把...
分类:其他好文   时间:2014-06-27 17:35:22    阅读次数:184
js去掉空格的方法
function dropKg(o){o.value=o.value.replace(/^(\s|\xA0)+|(\s|\xA0)+$/g, ''); }
分类:Web程序   时间:2014-06-27 17:34:41    阅读次数:181
Android中SharedPreferences的使用
在Android当中,SharedPreferences是一种轻量级数据存储,以键值对形式操作;SharedPreferences的使用非常简单,能够轻松的存放数据和读取数据。SharedPreferences只能保存基本数据类型。 使用SharedPreferences保存key-value...
分类:移动开发   时间:2014-06-27 17:20:38    阅读次数:273
js获取单选按钮的值
function a(){ var v=document.getElementsByName("radio"); for(var i=0;i<v.length;i++){ if(v[i].checked==true){ alert(v[i].value); } } }
分类:Web程序   时间:2014-06-27 17:15:23    阅读次数:316
js 去掉文本域中的空格
1.$("#pk_id").val().replace(/\s/gi, '');2.document.getElementById('txt_id').value=document.getElementById('txt_id').value.replace(/\s/gi,'');
分类:Web程序   时间:2014-06-27 16:06:47    阅读次数:233
LA 5031
Graph and QueriesTime limit: 3.000 secondYou are given an undirected graph withNvertexes andMedges. Every vertex in this graph has an integer value as...
分类:其他好文   时间:2014-06-27 15:37:28    阅读次数:239
iOS.访问通讯录.02.写入联系人
一、创建联系人1、创建联系人记录ABRecord person = ABPersonCreate();2、保存或修改单值属性bool ABRecordSetValue( ABRecordRef record, ABPropertyID property, CFTypeRef value, C...
分类:移动开发   时间:2014-06-27 15:28:29    阅读次数:398
Android Bundle类
Bundle类是一个key-value对,“A mapping from String values to various Parcelable types.”类继承关系:java.lang.Object android.os.BundleBundle类是一个final类:public final....
分类:移动开发   时间:2014-06-27 15:16:23    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!