if you need append some string to element and need set some attribute on these string at the same time,you'b better use appendTo funtion.because you c...
分类:
移动开发 时间:
2014-09-10 12:14:20
阅读次数:
183
之前写数据校验时忘记写dwz里的新增自定义校验,只要找到dwz.min.js文件的 if($.validator){ 的位置,在里面写上自己的校验正则表达式即可,我加了两个正则表达式,mac或mms 代码如下
if($.validator){
$.validator.addMethod("alphanumeric",function(value,element){
return this....
分类:
其他好文 时间:
2014-09-10 10:56:30
阅读次数:
209
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2014-09-10 09:26:30
阅读次数:
198
1、注意:a[-1.23] = true; // This creates a property named "-1.23"a["1000"] = 0; // This the 1001st element of the arraya[1.000] // Array index 1. Same as...
分类:
编程语言 时间:
2014-09-10 00:21:19
阅读次数:
173
Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element....
分类:
其他好文 时间:
2014-09-09 18:01:59
阅读次数:
146
Extjs提供了非常完善的DOM操作方法,可以方便的操作DOM。另外Extjs还可以方便的查询DOM元素,并把这些DOM元素封装成Ext.Element对象,通过Element对象我们可以操作DOM元素。下面来看一下Extjs操作DOM的几个类:
分类:
Web程序 时间:
2014-09-09 17:42:59
阅读次数:
210
Extjs提供了非常完善的DOM操作方法,可以方便的操作DOM。另外Extjs还可以方便的查询DOM元素,并把这些DOM元素封装成Ext.Element对象,通过Element对象我们可以操作DOM元素。下面来看一下Extjs操作DOM的几个类:
分类:
Web程序 时间:
2014-09-09 17:36:19
阅读次数:
175
border缩写/*缩写前*/element{ border-top-width:1px; border-top-style:solid; border-top-color:#cccccc;}element{ border-top:1px solid #cccccc; ...
分类:
Web程序 时间:
2014-09-09 15:33:28
阅读次数:
269
Jump Game
Total Accepted: 18745 Total
Submissions: 68916My Submissions
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element...
分类:
其他好文 时间:
2014-09-09 12:43:49
阅读次数:
154
1、get()、getDom()、getCmp()、getBody()、getDoc(): get(id/obj): get方法用来得到一个Ext元素,也就是类型为Ext.Element的对象, Ext.Element类是Ext对DOM的封装,代表DOM的元素,可以为每一个DOM创建一个对应...
分类:
Web程序 时间:
2014-09-09 11:31:28
阅读次数:
974