摘要:
//easyUI filebox 获取文件对象 $("#id").filebox("files")[0]; //js 获取文件对象 document.getElementById("file").files[0]; 阅读全文
摘要:
$("#id").combobox("textbox").bind("focus",function() { $("#id").combobox("showPanel"); // 获取焦点后需要执行...... }) 阅读全文
摘要:
$("#mainGrid").treegrid({ fit: true, toolbar: "#toolbar", fitColumns: false, width: $(window).width() - 22, height: $(window).height() - 110, rownumbe 阅读全文
摘要:
$("#id").textbox("textbox").bind("keypress", function(e) { if (e.keyCode == 13) { // 回车事件 } }); 阅读全文
摘要:
{ field: "index", title: "序号", halign: "center", align: "center", width: 80, formatter: function(value, row, index) { var options = $("#mainGrid").dat 阅读全文
摘要:
需求: 外层最大盒子宽高设置100%后,全屏设置背景颜色,背景颜色无效 解决方案: 样式文件加一个 page{height: 100%;} 阅读全文
摘要:
所有字符串方法都会返回新字符串。它们不会修改原始字符串。正式地说:字符串是不可变的:字符串不能更改,只能替换。 一,查找字符串中的字符串 indexOf() 方法返回字符串中指定文本首次出现的索引(位置): 实例 var str = "The full name of China is the Pe 阅读全文
摘要:
阅读全文
摘要:
需求:修改弹框中的 取消/确定按钮顺序,及头部和底部背景颜色; 原ui效果图 需求ui效果图 方法:对取消及确定按钮自定义类名,样式重写 阅读全文