自动跳转文本的实现
来源:互联网 发布:wap网投源码 编辑:程序博客网 时间:2024/05/21 09:51
贴一段自动跳转文本的代码实现:
实现代码
<html> <head> <title>文本跳转</title> <style type=text/css> body{ MARGIN-TOP: 10px; FONT-SIZE: 10pt; MARGIN-LEFT: 10px; MARGIN-RIGHT: 0px; FONT-FAMILY: "微软雅黑" } </style> <meta http-equiv=Content-Type content="text/html; charset=gb2312"> </head> <body> <script type="text/javascript"> function InBox1() { if(document.code.Box1.value.length == 4) { document.code.Box2.focus(); } } function InBox2() { if(document.code.Box2.value.length == 4) { document.code.Box3.focus(); } } function InBox3() { if(document.code.Box3.value.length == 4) { document.code.Box4.focus(); } } </script> <formname="code" action="" method="post">输入: <input maxLength="4" size="4" name="Box1" onkeyup="return InBox1()">- <input maxLength="4" size="4" name="Box2" onKeyUp="return InBox2()">- <input maxLength="4" size="4" name="Box3" onKeyUp="return InBox3()">- <input maxLength="4" size="4" name="Box4"> </form> </body></html>
阅读全文
0 0
- 自动跳转文本的实现
- 文本复制后自动实现跳转的js代码
- 自动跳转文本
- 页面自动跳转的实现
- 实现页面的自动跳转
- 实现文本的自动移动
- 实现选项卡的自动跳转
- 一些页面自动跳转的实现
- 一些页面自动跳转的实现
- wap页面自动跳转的实现方式
- 页面自动跳转的实现 (2)
- 一些页面自动跳转的实现
- 实现网页之间自动跳转的方法
- 页面自动跳转的js实现
- 一些页面自动跳转的实现
- 一些页面自动跳转的实现
- 一些页面自动跳转的实现
- jsp页面自动跳转的实现
- linux 文件类型
- 单利模式-懒汉式-饿汉式
- 阿里云主机安装oracle11g 交换空间不足
- Java基础
- Android 自定义相机 身份证拍照 自定义身份证相机
- 自动跳转文本的实现
- System.out.print("Hello CSDN!")
- native与html交互小记
- ubuntu下安装OpenJDK 7
- Shell脚本——make命令和Makefile文件
- FileReader -- 图片预览问题
- 数据结构之链表
- 从把三千行代码重构成15行代码谈起
- 从插上网线到web页面请求,究竟发生了哪些过程?(计算机网络篇)