学习首页 百科 人生课堂 办公软件 英语学习 操作系统 故事会 编程资料 软件学习 设计
铭瑶网 >> 学习首页 >> 编程 >> 仿VB密码
标题:仿VB密码

【字体: 】 时间:2008-4-11 来源:互联网 作者:study

仿VB密码

<html><head><title>测试</title><script language=vbs>cont=1sub myButton_Onclick()    if mytext.value="jojoo" then location="http://jojoo.net" else msgbox "密码错误!正确密码为jojoo":cont=cont+1    if cont>3 then msgbox"对不起!本页内容你不能看。":window.close end sub</script></head><body><br><br><center>请输入密码:   <input name="myText" type="password" size=10 maxlength=8>    <input type="button" name="myButton" value="确定" ></center></body></html>

查看/参与:讨论/评论 相关文章:Javascript