摘要: <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) 编辑