随笔分类 - js交互
摘要:<script> var reg = /^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/; function verifyTel (tel){ if(reg.test(tel)){ return true; } return f
阅读全文
摘要:function getdate() { var now = new Date(), y = now.getFullYear(), m = now.getMonth() + 1, d = now.getDate(); return y + "-" + (m < 10 ? "0" + m : m...
阅读全文
摘要:jQuery判断checkbox是否选中的3种方法
阅读全文
摘要:JavaScript实现水平进度条拖拽效果
阅读全文
摘要:jquery对象和javascript对象即DOM对象相互转换
阅读全文
摘要:$('#textArea').on("keyup",function(){
$('#textNum').text($('#textArea').val().length);
...
阅读全文
摘要:document.onclick在ios上不触发的解决方法与touchstart点击穿透处理
阅读全文

浙公网安备 33010602011771号