会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
.一天
2020年7月19日
input 两个input框只能允许同时输入一个
摘要: html <label class="border-bottom "> <span>金额(一次性)</span> <input type="text" placeholder="请输入金额" id="money" onchange="changeipt()"/> </label> <div clas
阅读全文
posted @ 2020-07-19 11:44 .一天
阅读(1309)
评论(0)
推荐(0)
input输入内容 释放按钮
摘要: $(function(){ $('input').on('input propertychange', function() { if($.trim($('#money').val()) !== "" && $.trim($('#verCode').val()) !== ""){ $('#sub')
阅读全文
posted @ 2020-07-19 11:41 .一天
阅读(192)
评论(0)
推荐(0)
2020年3月26日
VUE学习网址
摘要: 1——vue项目:https://www.cnblogs.com/taoweizhong/p/11605078.html 2——vue空格问题:https://blog.csdn.net/weixin_44678104/article/details/100094937 3——技术准备:https:
阅读全文
posted @ 2020-03-26 14:40 .一天
阅读(205)
评论(0)
推荐(0)
2019年10月26日
关于textarea标签获取焦点清除默认
摘要: onFocus="if(value == '请输入意见内容'){value=''}else if(value == 'please input comments'){value=''}" onBlur="if(!value){value=defaultValue;}"
阅读全文
posted @ 2019-10-26 18:00 .一天
阅读(739)
评论(0)
推荐(0)
2019年10月21日
多张图片上传
摘要: HTML:部分 <h3>上传图片</h3> <div class="up_box"> <div class="up_cont"> <input type="file" id="photo1" name="" accept="image/*"/> <div id="image" class="imag
阅读全文
posted @ 2019-10-21 17:47 .一天
阅读(169)
评论(0)
推荐(0)
2019年10月9日
爱心制作
摘要: html: <div class="heart"></div> css: #heart { position: relative; width: 100px; height: 90px; } #heart:before,#heart:after { position: absolute; conte
阅读全文
posted @ 2019-10-09 15:34 .一天
阅读(140)
评论(0)
推荐(0)
2019年10月8日
手机号中间4位为*
摘要: var reg = /^(\d{3})(\d*)(\d{4})$/; var str = " 15516236523"; str = str .replace(reg,function(a,b,c,d){ return b + c.replace(\/d\g,"*") + d ; console.l
阅读全文
posted @ 2019-10-08 10:41 .一天
阅读(118)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告