摘要:
l var obj = eval(result);解析json 阅读全文
posted @ 2015-12-11 22:23
白金05
阅读(662)
评论(0)
推荐(0)
摘要:
l 图片的回显。 阅读全文
posted @ 2015-12-11 22:22
白金05
阅读(213)
评论(0)
推荐(0)
摘要:
l $(document).ready(function() { });初始化jsp 阅读全文
posted @ 2015-12-11 22:21
白金05
阅读(134)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2015-12-11 22:20
白金05
阅读(247)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2015-12-11 22:18
白金05
阅读(314)
评论(0)
推荐(0)
摘要:
近期活动${b.name}Js部分$(function() { $('#activities').combo({ required : true, editable : true, multiple : true });$('#sp').appendTo($... 阅读全文
posted @ 2015-12-11 22:17
白金05
阅读(291)
评论(0)
推荐(0)
摘要:
onkeyup="value=value.replace(/\s/g,'')" //输入框去空格onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,''... 阅读全文
posted @ 2015-12-11 22:14
白金05
阅读(3154)
评论(0)
推荐(0)
摘要:
{field:'22',title:'操作',width:250,align:'center',sortable:true,formatter : function(value, row, index) { return row.ele_carband_name+","+row.na... 阅读全文
posted @ 2015-12-11 22:13
白金05
阅读(171)
评论(0)
推荐(0)
摘要:
document.getElementById("vin").focus();document.form1.name.focus() $(document).ready(function(){ document.getElementById("carnum").focus(); }); 阅读全文
posted @ 2015-12-11 22:12
白金05
阅读(15722)
评论(0)
推荐(0)
摘要:
frozenColumns: [[{ title: "姓名"}]],columns: [[{"title":"延时原因"}],[{"field":"jishu","title":"技术",}]],效果图: 阅读全文
posted @ 2015-12-11 22:10
白金05
阅读(177)
评论(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
阅读(812)
评论(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
阅读(533)
评论(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
阅读(156)
评论(0)
推荐(0)
摘要:
total=total.toFixed(3);小数问题:可以number(),或者*1来改变变量类型。 阅读全文
posted @ 2015-12-11 22:04
白金05
阅读(1929)
评论(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
阅读(20391)
评论(0)
推荐(1)
摘要:
var newstypevalue =$("#newstype option:selected").val(); if(newstypevalue=='0'){ //标题 $("#id1").attr("disabled",true); $("#id1").hide(); ... 阅读全文
posted @ 2015-12-11 22:02
白金05
阅读(133)
评论(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
阅读(2130)
评论(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
阅读(1636)
评论(0)
推荐(0)
摘要:
window.location.href="${ctx }/wx/reservation/content?shopid="+shopid+"&&openid=${openid_wx}"; 阅读全文
posted @ 2015-12-11 21:59
白金05
阅读(154)
评论(0)
推荐(0)
摘要:
1.利用Math.round()的方法:两个int型的数相除,结果保留小数点后两位:int a=1188;int b=93;double c;c=(double)(Math.round(a/b)/100.0);//这样为保持2位打印结果:c=0.12c=new Double(Math.round(a... 阅读全文
posted @ 2015-12-11 21:57
白金05
阅读(466)
评论(0)
推荐(0)
摘要:
IF(g.give_integral > -1, g.give_integral, c.goods_price)这个函数的结果要根据g.give_integral的值,如果g.give_integral大于-1函数值就是g.give_integral,否则函数值就是c.goods_price。SEL... 阅读全文
posted @ 2015-12-11 21:53
白金05
阅读(162)
评论(0)
推荐(0)
摘要:
jQuery中的$.getJSON( )方法函数主要用来从服务器加载json编码的数据,它使用的是GET HTTP请求。使用方法如下:$.getJSON( url [, data ] [, success(data, textStatus, jqXHR) ] )url是必选参数,表示json数据的地... 阅读全文
posted @ 2015-12-11 21:19
白金05
阅读(565)
评论(0)
推荐(0)
摘要:
package cn.stopgo.tool;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.io.UnsupportedEncodingExc... 阅读全文
posted @ 2015-12-11 21:16
白金05
阅读(302)
评论(0)
推荐(0)
摘要:
var longtitude = 0;var latitude = 0;function GetPostion() { //通过百度获取经纬度 var address = "具体的地理位置 "; var url = "http://api.map.baidu.com/geocoder/v2/?a... 阅读全文
posted @ 2015-12-11 21:15
白金05
阅读(323)
评论(0)
推荐(0)
摘要:
shift+alt+r 实现变量全部改名 阅读全文
posted @ 2015-12-11 21:13
白金05
阅读(264)
评论(0)
推荐(0)
摘要:
select distinct CAST(value as signed) valueprice,CAST(value as signed) valueid from app_coupon 阅读全文
posted @ 2015-12-11 21:11
白金05
阅读(1512)
评论(0)
推荐(0)
摘要:
(SELECT p.*,(SELECT CONCAT(m.name,m.id) FROM service_fastfix_category m WHERE m.id=SUBSTR(p.id,1,4)) AS parentcode,(SELECT GROUP_CONCAT(ee.name)FROM e... 阅读全文
posted @ 2015-12-11 21:07
白金05
阅读(265)
评论(0)
推荐(0)
摘要:
1 isnull(expr) 的用法:如expr 为null,那么isnull() 的返回值为 1,否则返回值为 0。 2IFNULL(expr1,expr2)的用法:假如expr1 不为 NULL,则 IFNULL() 的返回值为 expr1; 否则其返回值为 expr2。IFNULL()的返回值... 阅读全文
posted @ 2015-12-11 09:26
白金05
阅读(264)
评论(0)
推荐(0)

浙公网安备 33010602011771号