zoukankan      html  css  js  c++  java
  • 126邮箱的格式

    自己写的勿喷:

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>don1</title>
            <meta name="author" content="gy" />
            <!-- Date: 2017-02-22 -->
            <script src="jQuery1.11.1.js"></script>
            <script type="text/javascript">
                $(function() {
                    $("li").each(function() {
                        $(this).children().eq(1).focus(function() {
                            //alert($(this).children().eq(2));
                            $(this).next().css("background-color", "red");
                        }).blur(function() {
                            $(this).next().css("background-color", "");
                        });
                    });
    
                });
                //.css("background-color","red");
            </script>
        </head>
        <body>
            <ul>
                <li>
                    <label>用户名:</label>
                    <input />
                    <p>
                        变色
                    </p>
                </li>
                <li>
                    <label>密码:</label>
                    <input />
                    <p>
                        变色
                    </p>
                </li>
                <li>
                    <label>等等:</label>
                    <input/>
                    <p>
                        变色
                    </p>
                </li>
                <li>
                    <label>等等:</label>
                    <input/>
                    <p>
                        变色
                    </p>
                </li>
            </ul>
        </body>
    </html>

     

  • 相关阅读:
    Go语言基础之包
    Go语言基础之结构体
    Go语言基础之函数
    Go语言基础之map
    Go语言基础之指针
    Go语言基础之切片
    Go语言基础之数组
    02-Spring配置文件加载
    01-Spring概述(总览)
    将博客搬至CSDN
  • 原文地址:https://www.cnblogs.com/s1297-lgy/p/6432258.html
Copyright © 2011-2022 走看看