摘要:
//注:在contabs.js文件中 $(function () { }); 方法外 加入//注: data-name="' + menuName + '" 这句是加入的自定义属性 用于以后通过name属性进行处理 如:通过name属性关闭tab页面//调用示例 打开index-bootstrap2.html 页 /** * 添加(新增)选项卡(扩展) * @param d... 阅读全文
摘要:
DataGridView.AutoGenerateColumns 获取或设置一个值,该值指示是否为数据源中的每一字段自动创建 BoundColumn 对象并在 DataGrid 控件中显示这些对象。 将AutoGenerateColumns 设置为False就不会自动生成列 dataGridView 阅读全文
摘要:
实现POST网络请求方法 public static string HttpPost(string url,string postDataStr) { string strReturn; //在转换字节时指定编码格式 byte[] byteData = Encoding.UTF8.GetBytes( 阅读全文
摘要:
" onkeyup="if(isNaN(value)){execCommand('undo');alert('只能输入数字 !');}" onafterpaste="if(isNaN(value))execCommand('undo')" > 阅读全文
摘要:
方法二: 阅读全文
摘要:
mysql下sql语句令某字段值等于原值加上一个字符串 update 表明 SET 字段= 'feifei' || 字段; (postgreSQL 用 || 来连贯字符串) MySQL连贯字符串不能利用加号(+),而利用concat。 比方在aa表的name字段前加字符'x',利用: update 阅读全文
摘要:
第一种: //弹出加载层function load() { $("<div class=\"datagrid-mask\"></div>").css({ display: "block", width: "100%", height: $(window).height() }).appendTo(" 阅读全文
摘要:
在 httpd.conf 中查找 Allow from 127.0.0.1 Order Deny,Allow Deny from all Allow from 127.0.0.1 在此下面加上 Allow from all 如: Order Deny,Allow Deny from all Allo 阅读全文
摘要:
status= $("#statusId").switchbutton("options").checked; 阅读全文
摘要:
mui-active表示开关为打开状态,移除属性mui-active开关就是关闭状态 这种情况出现的解决方法就是将 class属性为mui-switch-handle 的div的style进行清空就可以了 jQuery代码: 阅读全文