摘要: document.getElementById("vin").focus();document.form1.name.focus() $(document).ready(function(){ document.getElementById("carnum").focus(); }); 阅读全文
posted @ 2015-12-11 22:12 白金05 阅读(15674) 评论(0) 推荐(0) 编辑
摘要: frozenColumns: [[{ title: "姓名"}]],columns: [[{"title":"延时原因"}],[{"field":"jishu","title":"技术",}]],效果图: 阅读全文
posted @ 2015-12-11 22:10 白金05 阅读(167) 评论(0) 推荐(0) 编辑
摘要: var contact_phone = $("#contact_phone").val(); if(contact_phone && /^1[3|4|5|8]\d{9}$/.test(contact_phone)){ } else{ $.messager.alert("提示","请输入... 阅读全文
posted @ 2015-12-11 22:08 白金05 阅读(808) 评论(0) 推荐(0) 编辑
摘要: var regExp = /(^[\u4E00-\u9FA5]{1}[A-Z0-9]{6}$)|(^[A-Z]{2}[A-Z0-9]{2}[A-Z0-9\u4E00-\u9FA5]{1}[A-Z0-9]{4}$)|(^[\u4E00-\u9FA5]{1}[A-Z0-9]{5}[挂学警军港澳]{1}$... 阅读全文
posted @ 2015-12-11 22:08 白金05 阅读(493) 评论(0) 推荐(0) 编辑
摘要: function ChangeSelect(n) { var selectnum=n; var kk = document.getElementById("zjlx").options; for (var i=0; i<kk.length; i++) { if (kk[i].val... 阅读全文
posted @ 2015-12-11 22:05 白金05 阅读(148) 评论(0) 推荐(0) 编辑
摘要: total=total.toFixed(3);小数问题:可以number(),或者*1来改变变量类型。 阅读全文
posted @ 2015-12-11 22:04 白金05 阅读(1906) 评论(0) 推荐(0) 编辑
摘要: result.result[0].namevar arr = new Array();$.each(result.result, function(i, item) { arr.push(""); arr.push(""); arr.push(""); arr.push(" "); ... 阅读全文
posted @ 2015-12-11 22:03 白金05 阅读(20287) 评论(0) 推荐(1) 编辑
摘要: var newstypevalue =$("#newstype option:selected").val(); if(newstypevalue=='0'){ //标题 $("#id1").attr("disabled",true); $("#id1").hide(); ... 阅读全文
posted @ 2015-12-11 22:02 白金05 阅读(125) 评论(0) 推荐(0) 编辑
摘要: A、{field:'station_staus',title:'工位状态',width:250,align:'center',formatter: function(value,row,index){ if (row.statio... 阅读全文
posted @ 2015-12-11 22:01 白金05 阅读(2088) 评论(0) 推荐(0) 编辑
摘要: class=easyui-datebox $(document).ready(function() { $("#thedate").datebox("setValue",myformatter( new Date())); $(".datebox :text").attr("readon... 阅读全文
posted @ 2015-12-11 22:00 白金05 阅读(1612) 评论(0) 推荐(0) 编辑