//全选/反选 $("#allSelect").click(function () { var isChecked = $(this).is(":checked"); $("input[name='selected_id']").each(function (k, v) { $(this).prop ...
分类:
Web程序 时间:
2017-10-09 19:37:31
阅读次数:
187
资源优化问题:Xilinx ise 出现资源不够的问题(ERROR:Cpld:868 - Cannot fit the design into any of the specified devices with the selected implementation options.),要在fitt ...
分类:
其他好文 时间:
2017-10-09 17:45:09
阅读次数:
142
//复选框if ($(this).is(':checked')==true){ console.log(111)}if ($(this).is(':checked')==false){ console.log(222)}//下拉框//获取select 选中的 text : $("#").find(" ...
分类:
其他好文 时间:
2017-10-08 18:07:49
阅读次数:
139
Visual Studio 技巧 1 常用设置 2 常用快捷键 2.1 系统默认快捷键 2.2 自定义快捷键 3 修复系统错误 1 常用设置 Text Editor -> All Languages -> General 设置值:Line Number 说明:显示行号 Text Editor -> ...
分类:
其他好文 时间:
2017-10-08 14:07:39
阅读次数:
208
下拉框获取选中项的值: $("#ID").find("option:selected").val(); 设置下拉框选中项: $("#ID").val(valueOfTheOption) 改变选中项: $("#ID").val(valueOfTheOption) 改变选中项: $("#ID").val ...
分类:
Web程序 时间:
2017-10-08 13:36:13
阅读次数:
217
油猴 油猴是有名的火狐浏览器插件(Greasemonkey),当然也有Chrome版本(tampermonkey),甚至IE、Safari、Opera都有……虽然这些插件是由不同的开发者开发出来的,界面也可能不太一样,但是,脚本是通用的,装了油猴,就像手机装了exposed框架一样,能安装很多第三方 ...
分类:
其他好文 时间:
2017-10-07 16:32:10
阅读次数:
1931
原文 if 语句 >>> x = int(input("Please enter an integer: ")) Please enter an integer: 42 >>> if x < 0: ... x = 0 ... print('Negative changed to zero') ... ...
分类:
编程语言 时间:
2017-10-02 23:03:06
阅读次数:
371
<body> <select id="year"></select>年 <select id="month"></select>月 <select id="day"></select>日 //设置年月日下拉框 </body></html><script> var year = document.ge ...
分类:
其他好文 时间:
2017-09-30 00:23:29
阅读次数:
209
http://acm.hdu.edu.cn/showproblem.php?pid=1856 More is better Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 327680/102400 K (Java/Others)Total ...
分类:
其他好文 时间:
2017-09-29 01:41:41
阅读次数:
164
与prop一样attr也可以用来获取与设置元素的属性。 区别在于,对于自定义属性和选中属性的处理。 选中属性指的是 checked,selected 这2种属性 1. 对于自定义属性 attr能够获取,prop不能获取 2. 对于选中属性 attr 只能获取初始值, 无论是否变化 prop 能够访问 ...
分类:
其他好文 时间:
2017-09-28 10:03:23
阅读次数:
190