01 2017 档案
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Button Group - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="../
阅读全文
摘要:1、原因:placeholder是h5的新属性,IE10以前的浏览器(8、9)不支持此属性。 2、解决方法:jQuery三方插件 jquery-placeholder 3、快速开始: [html] view plain copy <!DOCTYPE html> <html> <head> <titl
阅读全文
摘要:<script> $.extend($.fn.validatebox.defaults.rules, { idcard: {// 验证身份证 validator: function (value) { return /^\d{15}(\d{2}[A-Za-z0-9])?$/i.test(value)
阅读全文
摘要:1.正确表达式 "^\\d+$" //非负整数(正整数 + 0)"^[0-9]*[1-9][0-9]*$" //正整数"^((-\\d+)|(0+))$" //非正整数(负整数 + 0)"^-[0-9]*[1-9][0-9]*$" //负整数"^-?\\d+$" //整数"^\\d+(\\.\\d+
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head id="Head1" runat="server"> <title></
阅读全文
摘要:这个示例向你展示如何添加toolbar到datagrid. 创建 DataGrid <table id="tt" class="easyui-datagrid" style="width:600px;height:250px" url="data/datagrid_data.json" title=
阅读全文
摘要:前台 <link rel="stylesheet" type="text/css" href="../css/easyui.css"/> <script type="text/JavaScript" src="../js/jQuery-1.7.1.min.js"></script> <script
阅读全文
摘要:$(function () { $('#windowsMSG').window({ onBeforeClose: function () { //当面板关闭之前触发的事件 if (confirm('窗口正在关闭,请确认您当前的操作已保存。\n 是否继续关闭窗口?')) { $('#windowsMS
阅读全文
摘要:效果图 $(function () { var logBussnessAgentData = []; var logInspectionEngineerData = []; //选中 $("#btnRight").click(function () { var data_left = $('#dat
阅读全文
摘要:required: "必选字段", remote: "请修正该字段", email: "请输入正确格式的电子邮件", url: "请输入合法的网址", date: "请输入合法的日期", dateISO: "请输入合法的日期 (ISO).", number: "请输入合法的数字", digits:
阅读全文