由于工作需求接触select框多选的情况,以下是我分享的代码,主要是进入页面默认选中、支持多选属性:1.html内容multiple=”multiple” 属性为多选属性 2.JQ代码$("#mySelect").click(function () { //select多选的情况下...
分类:
其他好文 时间:
2014-07-22 22:39:12
阅读次数:
258
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-07-22 22:35:53
阅读次数:
230
Mobile Services批量提交数据,参考了文章:Inserting
multiple items at once in Azure Mobile Services。里面其实已经介绍得比较清楚了,但由于是英文,而且有些地方交待得不清楚,也没有Android的示例,故下文以Android版本的开发为例作个补充。
首先在Mobile Services项目里新建AllToDoItems以及T...
分类:
其他好文 时间:
2014-07-22 22:33:56
阅读次数:
297
java很给力逆序用了Colletcions.reverse();/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; ...
分类:
其他好文 时间:
2014-07-22 00:04:35
阅读次数:
154
一些IOS开发的心得:1) [Multiple Threads] IOS多线程注意, 所有的UI操作都必须在主线程上:Any code that will update the UI should be done on the main thread. Data loading should typ...
分类:
移动开发 时间:
2014-07-21 23:31:02
阅读次数:
403
/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; ...
分类:
其他好文 时间:
2014-07-21 00:11:12
阅读次数:
254
/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; ...
分类:
其他好文 时间:
2014-07-20 22:05:06
阅读次数:
181
好久没写SQL语句了,复习一下。
DDL数据定义语言...
分类:
数据库 时间:
2014-07-20 00:13:43
阅读次数:
293
Description
We give the following inductive definition of a “regular brackets” sequence:
the empty sequence is a regular brackets sequence,if s is a regular brackets sequence, then (s) and [s]...
分类:
其他好文 时间:
2014-07-19 23:42:40
阅读次数:
258
Least Common Multiple
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 29480 Accepted Submission(s): 11136
Problem Description
The le...
分类:
其他好文 时间:
2014-07-19 23:14:59
阅读次数:
244