Dragon-v

随笔分类 -  jQuery

jQuery 实现全选全不选
摘要:$('.check_all').change(function () { if ($(this).prop("checked")==true){ var count=$(":checkbox[name='ids']").prop("checked",true); }else{ $(":checkbo 阅读全文

posted @ 2021-09-01 11:25 Dragon-v 阅读(102) 评论(0) 推荐(0)

jQuery 实现按钮点击后倒计时 如短信验证码发送等
摘要:1.前端页面给一个按钮 <button type="button" class="btn-xlarge" id="dyMobileButton">发送验证</button> 2.jQuery如下 <script> //给按钮一个点击事件 $('#dyMobileButton').click(func 阅读全文

posted @ 2021-08-25 14:48 Dragon-v 阅读(312) 评论(0) 推荐(0)