![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jsp
YmJqiao
这个作者很懒,什么都没留下…
展开
-
jsp 获取项目绝对路径
使用和使用${pageContext.request.contextPath}达到同样的效果 都是获取当前项目的绝对路径原创 2016-09-28 15:15:19 · 326 阅读 · 0 评论 -
js 小数自动补齐两位 并判断最大值
$('.polish').blur(function(){ var fixed=parseFloat($(this).val()) var max=parseFloat('11.00'); if(fixed>=max){ fixed=max; } $(this).val(fixed.toFixed(2)) })原创 2016-10-15 17:30:02 · 769 阅读 · 0 评论 -
input number 标签
//隐藏 input 标签 number 后的加减箭头 input::-webkit-outer-spin-button, input::-webkit-inner-spin-button{ -webkit-appearance: none !important; margin: 0; } input[type="number"]{-moz-appeara原创 2016-10-17 16:01:33 · 711 阅读 · 0 评论 -
validate
showErrors: function(errorMap, errorList) { this.defaultShowErrors(); for(var i = 0; i $(errorList[i].element).one("blur", function() {原创 2017-05-19 16:13:18 · 261 阅读 · 0 评论