惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 【当耐特】
K
Kaspersky official blog
V
Vulnerabilities – Threatpost
Hacker News - Newest:
Hacker News - Newest: "LLM"
Security Archives - TechRepublic
Security Archives - TechRepublic
S
Secure Thoughts
I
Intezer
TaoSecurity Blog
TaoSecurity Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Spread Privacy
Spread Privacy
A
About on SuperTechFans
NISL@THU
NISL@THU
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
S
Security @ Cisco Blogs
S
SegmentFault 最新的问题
G
Google Developers Blog
B
Blog
N
News and Events Feed by Topic
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
V2EX - 技术
V2EX - 技术
V
Visual Studio Blog
MyScale Blog
MyScale Blog
Webroot Blog
Webroot Blog
Vercel News
Vercel News
IT之家
IT之家
Microsoft Security Blog
Microsoft Security Blog
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
S
Security Affairs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
L
Lohrmann on Cybersecurity
博客园 - 叶小钗
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Know Your Adversary
Know Your Adversary
T
Tailwind CSS Blog
F
Fortinet All Blogs
D
DataBreaches.Net
博客园 - Franky
博客园_首页
H
Heimdal Security Blog
宝玉的分享
宝玉的分享
阮一峰的网络日志
阮一峰的网络日志
Attack and Defense Labs
Attack and Defense Labs
Project Zero
Project Zero
雷峰网
雷峰网

jQuery

油猴脚本能拦截$(document).ready 吗? - V2EX jquery 有什么树形可编辑表格的插件吗? - V2EX Jquery Datatable 前端分页 Checkbox 跨页全选的问题 - V2EX 想提取 jQuery 中的一些函数单独使用,有什么好方法吗 - V2EX 有没有小的简单的 jquery 路由 - V2EX 关于 JQuery.load(html)加载 html,导致父 html 的$.fn 以及$.unbind 失效的问题 - V2EX 使用 jquery.validate 插件对动态新增的表单进行校验 - V2EX <script id="aaa" src="xxx.com/foo.js"></script> 用 $.getScript(...) 可以把 id="aaa" 一起设置进去吗? - V2EX 为什么我的 select 的 change 事件会失效? - V2EX 初学者在做做登陆界面使用 jQuery ajax()方法时直接出现 error, XMLHttpRequest.status=0,XMLHttpRequest.readyState=0,textStatus=error - V2EX 请教一个 jquery contextmenu 问题,不同事件源怎么合到一个菜单里 - V2EX jQuery.extend 在深复制时,为什么需要判断 isPlainOjbect?(不是问 isPlainOjbect 方法的原理) - V2EX jquery 通过 ajax 返回新的 url 给前端重定向算前后端分离吗? - V2EX 前端 websocket 实时接收到音频流数据,如何在 web 端实时播放 - V2EX scrollTop()引发的一个操作问题 - V2EX jQuery 选择特定尺寸图片问题 - V2EX 如何在提交表单后获取到动态添加的 inpu 的值 - V2EX pdfObject 怎么监听进度 - V2EX 能帮我找找这个页面的细节 和 尺寸是那个 ajax 和 url 加载的吗? - V2EX 问个 Jquery 的选择元素的问题 - V2EX jQuery UI dialog 有熟悉的么,我想问个问题 - V2EX 实现滚动条离顶端一定距离之后异步加载广告 - V2EX 求指点 Refused to set unsafe header "cookie" - V2EX 问个 JQ 的选择节点的问题 - V2EX jquery 如何实现点击 p( class=‘aa’,没有 id)而选中 p 里面的文字? - V2EX 可以用 jquery 模拟键盘按键吗? - V2EX 外行请教京东 618 寻金记是怎么实现的? - V2EX 请教 jquery 跟换图片地址后展示的问题 - V2EX function 返回 ajax 结果 - V2EX Jquery 在移动端如何让返回能够不刷新页面? - V2EX jq ajax 返回的数据怎么获取其中一部分? - V2EX jquery 循环绑定事件问题 - V2EX jquery 引入在底部 $ready 就要用到$ 但页面还没加载 jquery 不用$ready 下面的 jq 代码就没办法运行 - V2EX 注册了个域名,专门用于自己插件库的演示和文档说明 - V2EX 捏了个小 app,求推荐好看的下载页面模板 - V2EX 关于跟随鼠标移动的两个 js 功能合并问题,求解! - V2EX 新手问个问题呗? - V2EX 最新最全的城市三级联动插件 - V2EX 分享一个基于 jQuery 开发的强大的 CMS - V2EX 浮动 [电梯] 或 [回到顶部] 小插件: iElevator.js - V2EX 自制 WEB 前端插件库,欢迎使用~ bootstrap modal event 多次绑定 - V2EX Jquery 如何实现 Ajax 自动更新 table,并且不影响 js 事件 - V2EX 愿意付费帮忙修改一个 jq 插件! - V2EX 请问下 draggable 怎么实现拖动前后的元素不一样 - V2EX 自己写的一套 jquery 组件库 jquery mobile 的动态加载感觉好难用啊 jquery data() 返回数据类型不统一 - V2EX V2 的大神们帮我看看, JQuery 跨域请求遇到点问题 - V2EX
jquery 表单验证 each 为什么不能 key 变量 - V2EX
IdJoel · 2016-10-25 · via jQuery
$this.find(":input").bind("click",function (){
    var _this = $(this).attr("name")
    var _this_val = $(this).val()
    var num_text = /^\d{1,16}$/;
    var password = /^[\@A-Za-z0-9\!\#\$\%\^\&\*\.\~]{6,22}$/;
    var _this_name = {num_text:"username", password:"password", three:"cerificationcode"}; 
    $.each(_this_name,function(key,val){    
    if(_this == val){
        console.log(key)
        if(key.test(_this_val)){
            alert(" 对了对了");
        }else{
            alert("错误错误了");
        }
    }
    })
})	

好像是第二个 if 的 key 不被 jquery 识别变成变量,浏览器就一直在报错

html:52 Uncaught TypeError: key.test is not a function(…)