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

推荐订阅源

AI
AI
TaoSecurity Blog
TaoSecurity Blog
H
Heimdal Security Blog
Help Net Security
Help Net Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
N
News | PayPal Newsroom
V2EX - 技术
V2EX - 技术
博客园 - 【当耐特】
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Secure Thoughts
C
CERT Recently Published Vulnerability Notes
罗磊的独立博客
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy & Cybersecurity Law Blog
有赞技术团队
有赞技术团队
S
Schneier on Security
S
SegmentFault 最新的问题
Google Online Security Blog
Google Online Security Blog
H
Hacker News: Front Page
The Last Watchdog
The Last Watchdog
Schneier on Security
Schneier on Security
PCI Perspectives
PCI Perspectives
IT之家
IT之家
Project Zero
Project Zero
博客园 - 司徒正美
P
Privacy International News Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Security Latest
Security Latest
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
V
Vulnerabilities – Threatpost
W
WeLiveSecurity
NISL@THU
NISL@THU
Webroot Blog
Webroot Blog
N
Netflix TechBlog - Medium
L
Lohrmann on Cybersecurity

博客园 - 弦月摘星

[转载]js技巧收集(200多个) - 弦月摘星 - 博客园 sql 违反了 PRIMARY KEY 约束,不能在对象 中插入重复键 生活着,流浪着 毕业设计 熊猫病毒专杀工具 烦,好乱的事情...... 需要不断的给自己充电 CuteEditor使用手记 常用正则表达式 - 弦月摘星 - 博客园 不要一生靠技术生存 (转) 写在实习前 工作了,加油 沉着,冷静(小记第一次招聘会) 两首歌 在家 全国各地电台在线收听大全(转) 六级来了,janker,加油 触发器入门 ASP.NET 发邮件(转) - 弦月摘星 - 博客园
刷新验证码 - 弦月摘星 - 博客园
弦月摘星 · 2006-08-09 · via 博客园 - 弦月摘星

下面介绍三种方法
1.框架
将验证码控件置于框架中,然后通过刷新框架来刷新验证码
2.控件路径转移
这种方法是在一个页面中放置两个验证码控件,如果一个验证码控件看不清,那么就将另外一个验证码的路径赋予第一个验证码的路径
3.input控件调用javascript
下面是详细代码:

<IMG id="getcode" alt="" src="gif.aspx">&nbsp;&nbsp;</font><href="javascript:getimgcode()"><font class="resumecontent" face="宋体">刷新验证码</font></A>

function getimgcode()
{
 
var randomnum = Math.random();
 
var getimagecode = document.getElementById("getcode");
 getimagecode.src 
= "gif.aspx?" + randomnum;
}

    

我个人比较喜欢第三种