<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="jquery-1.7.1.min.js"></script>
    <script>
        $(function () {
            $('li').hover(function () {
                $(this).css({'color':'red','cursor':'pointer'});
            }, function () {
                $(this).css('color', 'black');
            }).click(function () {
                $(this).appendTo('#ul2');
            });
        });
    </script>
</head>
<body>
    <ul id="ul1">
        <li>北京</li>
        <li>上海</li>
        <li>广州</li>
        <li>深圳</li>
    </ul>
    <ul id="ul2">

    </ul>
</body>
</html>

最新文章

  1. Tcp/ip 报文解析
  2. Linux字符设备驱动框架
  3. Hyper-V上运行的Linux虚拟机验证是否安装了集成服务
  4. 将Centos的yum源更换为国内的阿里云源
  5. 嵌入式linux开发环境构建
  6. (转) RSA算法原理(一)
  7. jQuery Ajax 操作函数
  8. [xcode]Xcode查找函数(方法)调用及被调用
  9. jq手风琴---点击时列表的左边距逐渐减小
  10. Desert King
  11. Seeding(dfs)
  12. 老李分享:DBA
  13. whonix官网部分翻译
  14. ionic cordova build android error: commamd failed with exit code eacces
  15. spring的定时器
  16. java 变量 final 小结
  17. 使用Holer外网SSH访问内网(局域网)Linux系统
  18. 「WC 2019」数树
  19. C语言 &#183; 字符串的展开
  20. Lost connection to MySQL server during query ([Errno 104] Connection reset by peer)

热门文章

  1. 摘录-MYSQL5.7版本sql_mode=only_full_group_by问题
  2. Android 用MediaRecorder录制视频太短崩的问题
  3. Android 监听软键盘按键的三种方式
  4. Kinect小小玩偶游戏----小小潜水员
  5. [tmux] Organize your terminal using tmux panes
  6. 2015年创业中遇到的技术问题:1-10(乱码-SpringMVC-jquery-JSON等)
  7. 小强的HTML5移动开发之路(27)—— JavaScript回顾2
  8. (翻译)2016美国数学建模MCM E题(环境)翻译:我们朝向一个干旱的星球?
  9. 【Python 安装】安装第三方库时 PermissionError: [WinError 5] Access is denied
  10. 怎么样Windows7在配置ASPserverIIS