上一页 1 ··· 3 4 5 6 7
摘要: $("#MultiPoint").datagrid({ url:"${pageContext.request.contextPath}/TDataMonitoring/TDataMonitoringGrid.do;"+ $.now(), rownumbers:true, pageSize:10, p 阅读全文
posted @ 2016-05-10 15:56 安静的程序媛 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 在前台js代码中由于一些业务之间的先后顺序,有时会涉及到需要某句代码或者某个函数延时执行的情况: setTimeout(function(){ alert("Hello world"); //可以是一句或是很多句代码,也可以是个函数 },10000); //延时10秒 有时涉及到延时问题时,可能也会 阅读全文
posted @ 2016-05-10 15:36 安静的程序媛 阅读(28174) 评论(0) 推荐(0) 编辑
摘要: 1、设置对应时间控件 <input id="add_starttime" type="text" class="easyui-datebox" style="width: 166px;"></input> 2、在对应js中对datebox控件进行控制 //开始时间 $('#starttime').d 阅读全文
posted @ 2016-05-10 15:31 安静的程序媛 阅读(2304) 评论(0) 推荐(0) 编辑
摘要: dboTGcGridinfo dbotgcgridinfo = new dboTGcGridinfo(); try { if(isadd.equals("true")){ //判断是新增, //将前台传入的id和name放入对象中 dbotgcgridinfo.setId(gridid); dbot 阅读全文
posted @ 2016-05-10 15:23 安静的程序媛 阅读(979) 评论(0) 推荐(0) 编辑
摘要: 说明:将[a:12,b:12,c:34]转成["a":"12","b":"12","c":"34"] List<dboViewGcLawenforcecert> dboviewgclawenforcecertlist = null; dboviewgclawenforcecertlist = que 阅读全文
posted @ 2016-04-27 11:16 安静的程序媛 阅读(509) 评论(0) 推荐(0) 编辑
摘要: <input id="add_phone" style="width: 160px;" onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getD 阅读全文
posted @ 2016-04-26 15:15 安静的程序媛 阅读(1853) 评论(0) 推荐(0) 编辑
摘要: 功能简介:登录后进入index页面,index有导航页签,点击某个导航页签进入某个功能页面main.jsp,mian.jsp的页面上有“添加”或者“编辑”的按钮,点击这些按钮弹出一个jsp的页面,方法如下: index.jsp的js方法: var windowopen = null; // 如果ma 阅读全文
posted @ 2016-04-26 14:22 安静的程序媛 阅读(929) 评论(0) 推荐(0) 编辑
摘要: // 查询污染源显示的表头 private JSONObject getDataGridTitleByPs( final String pscode) { final List<List<Map<String, Object>>> columns = new ArrayList<>(); final 阅读全文
posted @ 2016-04-26 14:01 安静的程序媛 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 1、text <input id="12" type="text"/> 取值:$.("#id").val(); 放值:$.("#id").val("zhi"); 2、radio <div id="sex"> <input id="sex0" type="radio" name="add_sex" v 阅读全文
posted @ 2016-04-26 13:58 安静的程序媛 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1、Java(service方法)端获取当前时间的前12个小时: public Object getSearchName(HttpServletRequest request){ JSONArray arr = new JSONArray(); JSONObject obj = new JSONOb 阅读全文
posted @ 2016-03-15 17:09 安静的程序媛 阅读(7014) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7