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>

     

  • 相关阅读:
    2.完全背包问题
    1.01背包问题
    19.区间合并
    18.区间和
    16.数组元素的目标和
    15.最长连续不重复子序列
    14.差分矩阵
    1.注册七牛云账号
    1.1 linux查看系统基本参数常用命令
    图书管理增删改查&父子调用&前后端
  • 原文地址:https://www.cnblogs.com/s1297-lgy/p/6432258.html
Copyright © 2011-2022 走看看