摘要:
$("#registerInLogin").live('click', function() { Header.register(); }); var Header = { register: function() { // $.post(path + '/web/headerregister.js 阅读全文
posted @ 2018-04-06 21:00
程序员小明1024
阅读(293)
评论(0)
推荐(0)
摘要:
js及jQuery移除html元素所有的class 1.比较正式的写法 (jQuery) 1 $('').removeClass(); //removeClass没有参数,就可以移除所有的Class了2.其它写法 (jQuery) 1 $('').removeAttr('class');2 $('' 阅读全文
posted @ 2018-04-06 20:59
程序员小明1024
阅读(2654)
评论(0)
推荐(0)
摘要:
var reg = /\w+[@]{1}\w+[.]\w+/; // 验证中文名称function isChinaName(name) { var pattern = /^[\u4E00-\u9FA5]{1,6}$/; return pattern.test(name);} // 验证手机号func 阅读全文
posted @ 2018-04-06 20:59
程序员小明1024
阅读(364)
评论(0)
推荐(0)
摘要:
<style type="text/css"> .mainDiv{ background-image:linear-gradient(-179deg,#F23030 0%,#F4F4F4 95%); } </style> 阅读全文
posted @ 2018-04-06 20:58
程序员小明1024
阅读(283)
评论(0)
推荐(0)
摘要:
SELECT *FROM courseware_visit_history_info vWHERE v.COURSEWARE_VISIT_ID='000bf820b2574f8dabdc2bb1c7c63241' AND v.VISIT_TIME BETWEEN date_sub(NOW(),int 阅读全文
posted @ 2018-04-06 20:55
程序员小明1024
阅读(5860)
评论(0)
推荐(0)
摘要:
js jquery中判断checkbox是否被选中的方法在js中: document.getElementById("checkboxID").checked 返回true或者false jQuery中: $("input[type='checkbox']").is(':checked') 返回tr 阅读全文
posted @ 2018-04-06 20:54
程序员小明1024
阅读(8930)
评论(0)
推荐(0)
摘要:
<!-- 设置clearfloat样式,让里面的div撑开外面的div,让高度自适应 --> <style type="text/css"> .clearfloat{clear:both;height:0;font-size: 1px;line-height: 0px;} </style> </he 阅读全文
posted @ 2018-04-06 20:53
程序员小明1024
阅读(369)
评论(0)
推荐(0)
摘要:
window.location.href= path + "/web/getSectionsListByChptId.do?sectionsInfo.chptId="+chptId; 用jquery方式提交form表单 $("#coursewareForm").attr("action",path+ 阅读全文
posted @ 2018-04-06 20:52
程序员小明1024
阅读(194)
评论(0)
推荐(0)
摘要:
<select id="findUsersByUserName2" resultType="java.util.Map" parameterType="Params"> SELECT id as uid, username as uname, password as pwd, account as 阅读全文
posted @ 2018-04-06 20:50
程序员小明1024
阅读(192)
评论(0)
推荐(0)
摘要:
控制器方法获得前台传来的值有三种方式:1.通过HttpServletRequest: @RequestMapping(value="/index1") public String helloaction1(HttpServletRequest request){ System.out.println 阅读全文
posted @ 2018-04-06 20:49
程序员小明1024
阅读(119)
评论(0)
推荐(0)