随笔分类 -  js

定时器
摘要:<input type='text' onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();" /> 简简单单一行代码搞定 阅读全文
posted @ 2022-04-24 10:34 沫栀 阅读(463) 评论(0) 推荐(0)
摘要:效果图 html页面: <li>所在地区: <div class="col-md-6"> <div class="form-group"> <label class="control-label col-md-3">所在省</label> <div class="col-md-9"> <select 阅读全文
posted @ 2022-04-22 20:36 沫栀 阅读(783) 评论(0) 推荐(0)
摘要:<button type="button" class="btn-primary-disabled yzmm" onclick="send_sms(this)" >发送短信验证码</button> var countdown = 60; function aaa(){ if (countdown = 阅读全文
posted @ 2022-03-25 14:59 沫栀 阅读(112) 评论(0) 推荐(0)
摘要:<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文
posted @ 2022-03-16 14:32 沫栀 阅读(136) 评论(0) 推荐(0)