总结: * jQuery中添加自定义或函数方法1,如 $.fn.extend({'aa':function(){}}) 或 jQuery.fn.aa=function(){}, 这种调用时就得这样,$("#**").aa() * jQuery中添加自定义或函数方法2, 如: $.myFun4(2, ...
分类:
Web程序 时间:
2018-04-16 16:13:55
阅读次数:
222
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 你喜欢什么运动? 全选/全不选 10 10 篮球 11 11 足球 12 12 羽毛球 13 13 排球 14 14 ... ...
分类:
其他好文 时间:
2018-04-16 14:41:36
阅读次数:
150
1.依赖安装 本例中,使用render-content进行树节点内容的自定义,因此需要支持JSX语法。 2.常用属性 Attributes des type default node-key 每个树节点用来作为唯一标识的属性, string 无默认值 整棵树应该是唯一的 default-expand ...
分类:
其他好文 时间:
2018-04-16 11:06:00
阅读次数:
922
【题目描述】 Write a program to find the node at which the intersection of two singly linked lists begins. Notice: If the two linked lists have no intersect ...
分类:
其他好文 时间:
2018-04-15 23:27:33
阅读次数:
223
P4424 [HNOI/AHOI2018]寻宝游戏 某大学每年都会有一次Mystery Hunt的活动,玩家需要根据设置的线索解谜,找到宝藏的位置,前一年获胜的队伍可以获得这一年出题的机会。 作为新生的你,对这个活动非常感兴趣。你每天都要从西向东经过教学楼一条很长的走廊,这条走廊是如此的长,以至于它 ...
分类:
其他好文 时间:
2018-04-15 23:26:48
阅读次数:
292
函数 有一定功能代码体的合集,基本结构: function functionname(){ 执行代码 } 基础函数、调用: function hanshu(){ alert“这是第一个函数” } hanshu();函数调用 分类:带有参数的函数 : function hanshu(a){alert ...
分类:
编程语言 时间:
2018-04-15 23:00:02
阅读次数:
230
知道BloomFilter是因为RocksDB数据库中用到了这个技术,用于判断1个数据是否存在于1个SST文件中。 BloomFilter可能存在误判,就是判断结果是存在集合中,而实际上可能不存在,概率是很低的。但是判断不存在,则一定就是不存在集合中的。 资料查阅后,BloomFilter还可以用于 ...
分类:
其他好文 时间:
2018-04-15 22:54:38
阅读次数:
192
*星号的使用 在定义函数时 def func( *args) 这种格式形参 会将输入的多个未指定实参转换成 tuple def func( **kwargs) 将未定义的形参及实参 转换为 dict 调用函数时 tuple1 = ('1','2','3') func( *tuple1) * 代表解包 ...
分类:
其他好文 时间:
2018-04-15 22:53:19
阅读次数:
156
首先是对文件上传input样式进行隐藏: <a class="link uploadPhoto" href="#" onclick="upload_file.click()"> <input type="file" class="form-control" id="upload_file" name ...
分类:
Web程序 时间:
2018-04-15 19:42:58
阅读次数:
171