码迷,mamicode.com
首页 >  
搜索关键字:val    ( 23217个结果
自定义双向绑定插件
一、邦定插件(function ($) { $.extend({ //VM捆绑对象 BindApply: function (viewModel) { var SetVal = function (field, val) { ...
分类:其他好文   时间:2015-07-22 18:26:18    阅读次数:85
jQuery 实现 点击按钮后倒计时效果,多用于实现发送手机验证码、邮箱验证码
//发送短信验证码 $(":button.getcode").click(function(){ var reg = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/; if(!reg.test($("#mobile").val())){ $('#profile .error_mobile...
分类:移动开发   时间:2015-07-22 13:23:04    阅读次数:192
AndroidJNI.SetShortArrayElement 设置短整数数组元素
static function SetShortArrayElement (array : IntPtr, index : int, val : Int16) : void Description描述 Sets the value of one element in a primitive array. 设置一个基本数组一个元素的值。 This funct...
分类:移动开发   时间:2015-07-22 11:11:37    阅读次数:126
AndroidJNI.SetShortArrayElement设置短整数数组元素
staticfunctionSetShortArrayElement(array:IntPtr,index:int,val:Int16):voidDescription描述Setsthevalueofoneelementinaprimitivearray.设置一个基本数组一个元素的值。ThisfunctionisaspecialcaseofSetShortArrayRegion(),calledwithregionsizesetto1.这个函数是一个特殊情..
分类:移动开发   时间:2015-07-22 11:00:26    阅读次数:164
判断链表 有环
第一种解法,记录每一出现的元素/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(...
分类:其他好文   时间:2015-07-21 21:50:55    阅读次数:78
链表 插入排序
/**注意往链表头插入元素的情况 * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NU...
分类:编程语言   时间:2015-07-21 20:17:21    阅读次数:107
PLSQL插入数据库中的中文乱码解决方式
1. 查看服务器端编码 select userenv(‘language‘) from dual; 我实际查到的结果为:AMERICAN_AMERICA.AL32UTF8 2. 执行语句 select * from V$NLS_PARAMETERS? 查看第一行中PARAMETER项中为NLS_LANGUAGE 对应的VAL...
分类:数据库   时间:2015-07-21 17:29:24    阅读次数:151
AndroidJNI.SetStaticBooleanField设置静态布尔域
staticfunctionSetStaticBooleanField(clazz:IntPtr,fieldID:IntPtr,val:bool):voidDescription描述Thisfunctionetsthevalueofastaticfieldofanobject.这个函数设置一个对象的静态域的值。参见:JavaNativeInterfaceSpecification(Oracle)兄弟连IT教育与全球移动游戏联盟(GMGC..
分类:移动开发   时间:2015-07-21 15:11:11    阅读次数:192
AndroidJNI.SetStaticBooleanField 设置静态布尔域
static function SetStaticBooleanField (clazz : IntPtr, fieldID : IntPtr, val : bool) : voidDescription描述This function ets the value of a static field ...
分类:移动开发   时间:2015-07-21 10:23:13    阅读次数:107
二叉树前序,中序,后序递归和非递归实现
TreeNode定义 1 public class TreeNode { 2 public TreeNode left; 3 public TreeNode right; 4 public int val; 5 6 public TreeNode(int v...
分类:其他好文   时间:2015-07-20 22:48:03    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!