本文实例为大家分享了js全选操作的具体代码,供大家参考,具体内容如下
<html>
<head>
<meta http-equiv=Content-Type content=text/html; charset=utf-8 />
<title>无标题文档</title>
<style>
*{margin:0;padding:0;}
ul{list-style:none;}
#content{width:300px;border:1px solid #ccc;margin:20px auto;}
#content ul{width:300px;}
#content ul li,#co