
前台
weixin_38919176
这个作者很懒,什么都没留下…
展开
-
css、html根据class设置颜色、字体、位置属性
class=“file-tip”.file-tip{ font-size: 13px; color: red; padding-left: 5px;}页面布局:<tr> <td colspan="6" class="tHead"> <b class="common_font">附件信息<span class="file-tip">(附件格式为PDF且附件大小最大10M)</span></b> </td原创 2021-03-10 18:39:26 · 6191 阅读 · 0 评论 -
输入框 1、获取值 2、提示信息
获取输入框的值:var name = $("#search_name").val();输入框默认提示信息placeholder=“请输入名称”<div class="input-box"> <span class="input-icon">姓名:</span> <input class="my-input" type="text" id="search_name" placeholder="请输入名称"></input> <原创 2020-10-29 16:59:39 · 250 阅读 · 0 评论 -
获取多选框的值 以及设置 默认选中、不可编辑
html代码:disabled=“disabled” 不可选checked=“checked” 默认选中<div class="queryBox" id="factoryDiv"> <div class="row"> <span class="query-title"><i class="iconfont" style="color:#eb4e27;font-size: 16px;"></i>排序方式<原创 2020-10-29 15:49:18 · 780 阅读 · 0 评论 -
Uncaught ReferenceError: $ is not defined
没有引用jQuery.js文件 如图:原创 2020-10-29 15:36:56 · 117 阅读 · 0 评论 -
jsp中引用js文件 path
获取路径地址String path = request.getContextPath();String basePath = request.getScheme()+"????/"+request.getServerName()+":"+request.getServerPort()+path+"/";页面跳转传参-获取参数String testid = request.getSession().getAttribute(“testid”)==null?"":request.getSession()原创 2020-10-29 15:31:18 · 292 阅读 · 0 评论 -
js获取时间日期(年月日 时分秒毫秒)
时间格式为:YYYY-MM-dd var date = new Date(); var seperator1 = "-"; var year = date.getFullYear(); var month = date.getMonth() + 1; var strDate = date.getDate(); if (month >= 1 && month <= 9) {原创 2020-10-28 09:57:13 · 1662 阅读 · 0 评论 -
col-xs-*和col-sm-* 和col-md-* !important autocomplete scrolling属性
名称:col-lg一般用于大屏设备,(min-width:1200px);col-md一般用于中屏设备,(min-width:992px);col-sm一般用于小屏设备,(min-width:768px);col-xs用于超小型设备,(max-width:768px);1、col-xs-和col-sm- 和col-md-*不管在哪种屏幕上,栅格系统都会自动的每行row分12列 col-xs-和col-sm- 和col-md-*后面跟的参数表示在当前的屏幕中 每个div所占列数。例如 :原创 2020-09-24 16:18:07 · 523 阅读 · 0 评论