Readonly只针对input和textarea有效,而disabled对于所有的表单元素都有效,下面为大家介绍下使用jQuery设置disabled属性 表单中readOnly和disabled的区别: Readonly只针对input(text/ password)和textarea有效,而d ...
分类:
Web程序 时间:
2016-11-22 20:15:15
阅读次数:
175
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:
其他好文 时间:
2016-11-22 12:43:50
阅读次数:
207
Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The lowes ...
分类:
其他好文 时间:
2016-11-22 03:19:04
阅读次数:
259
待修改中 快捷键部分: Win+E:打开“我的电脑”E:Explot的缩写,即资源管理器。 F:Find的缩写,即寻找。此法等同于我们单击开始→搜索 Win+R:打开“运行”对话框。R:Run的缩写,即运行 Win+L:锁定计算机L:Lock的缩写,即锁定。锁定后再进入就需要登录密码了,适用于短暂离 ...
文件查找:在文件系统上查找符合条件的文件;(文件查找与我们之前学过的grep是不一样,grep是过滤文本的)文件查找实现工具:locate,find(locate和find两者间的工作法则,工作模式不太一样,locate的实现机制,locate查找的机制是根据事先构建的索引来完成查找文件查找的举..
分类:
其他好文 时间:
2016-11-21 20:26:00
阅读次数:
190
d:\>netstat -ano | findstr "7777" TCP 127.0.0.1:7776 127.0.0.1:7777 ESTABLISHED 11764 TCP 127.0.0.1:7777 127.0.0.1:7776 ESTABLISHED 11764 ...
问题描述: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three int ...
分类:
其他好文 时间:
2016-11-21 18:30:55
阅读次数:
202
[摘要:经过rz上传文件失利时,会发生巨细为0的治码的文件,以下 ls-l -rw-rr1rootroot4703112-1513:48???.htm 这类范例的文件可用以下敕令 find.-maxdepth1-size0|xargsrm-rf 解释:这类文件巨细为0,而且正在上传] 通过rz上传文 ...
分类:
Web程序 时间:
2016-11-21 14:59:18
阅读次数:
273
有种需求,A和B是父子关系,B和C是父子关系,C与D亦是父子关系,以此类推,无限级 现在需要查询到某一级(包括本级)下面所有的,就需要用到FIND_IN_SET函数 select * from table where FIND_IN_SET(cagid,queryChildrenAgidInfo(# ...
分类:
数据库 时间:
2016-11-21 12:26:17
阅读次数:
215
Given an array of integers, every element appears twice except for one. Find that single one. 本题利用XOR的特性, X^0 = X, X^X = 0, 并且XOR满足交换律。 single number ...
分类:
其他好文 时间:
2016-11-21 08:48:01
阅读次数:
164