$("#btn_Company").attr("disabled", "disabled"); $("#agency").on("change", function () { //点击之后如果变成打钩时触发 if ($(this).attr("checked") == "checked") { $(...
分类:
Web程序 时间:
2015-12-17 22:13:26
阅读次数:
3433
#!/bin/bash
echo"Itwillinstalllamporlnmp."
sleep1
##checklastcommandisOKornot.
check_ok(){
if[$?!=0]
then
echo"Error,Checktheerrorlog."
exit1
fi
}
##getthearchiveofthesystem,i686orx86_64.
ar=`arch`
##closeseliux
sed-i‘s/SELINUX=enforcing/SELINUX=disabled/‘/..
分类:
其他好文 时间:
2015-12-17 19:26:26
阅读次数:
248
快讯:经受舆论高压,苹果前进一步 8月5日。扎德尔斯基在“Apple is making progress”博文中写到:”a number of the “high value forensic services” have now been disabled wirelessly, includ....
分类:
移动开发 时间:
2015-12-13 12:25:37
阅读次数:
188
var newstypevalue =$("#newstype option:selected").val(); if(newstypevalue=='0'){ //标题 $("#id1").attr("disabled",true); $("#id1").hide(); ...
分类:
其他好文 时间:
2015-12-11 23:48:01
阅读次数:
161
1、试试启动时指定配置文件./bin/mysqld_safe --defaults-file=mysql.cnf或./bin/mysqld_safe --defaults-file=mysql.cnf $2、试试修改 mysql.cnf(也可能是my.cnf)在 [mysqld]下指定tmpdirt...
分类:
数据库 时间:
2015-12-09 19:27:41
阅读次数:
185
如何禁用 radio ,设置为只读,不能选定禁用 radio ,设置为只读,不能选定: 男 女 当为: 只读.radio控件本身就是只读了,所以加readonly等于没效果...disabled之后提交时服务器端就不能读取值了,可用hidden 传值到后台
分类:
其他好文 时间:
2015-12-09 11:31:17
阅读次数:
3467
jquery全选、反选、全不选简单实现Jquery代码!function ($) { //全选 反选 全不选 $("#selAll").click(function () { $(".lists :checkbox").not(':disabled').prop("chec...
分类:
Web程序 时间:
2015-12-08 08:44:49
阅读次数:
135
ng-disabled 指令直接绑定应用程序数据到 HTML 的 disabled 属性。ng-show 指令用于设置应用部分是否可见。ng-show="true" 设置 HTML 元素可见。ng-show="false" 设置 HTML 元素不可见。ng-hide 指令用于设置应用部分是否可见。n...
分类:
Web程序 时间:
2015-12-08 07:11:31
阅读次数:
351
$('#tco_ext_model option:not(:selected)').attr('disabled',true);这段代码的意思是id为tco_ext_model的下拉列表除选中项外,其他选项不可用,也就是变相实现既要提交下拉列表值,又不想让用户选择。
分类:
Web程序 时间:
2015-12-04 20:26:53
阅读次数:
194