<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<input type="checkbox" class="xuanze"/>
<input type="checkbox" class="xuanze"/>
<input type="checkbox" class="xuanze"/>
<input type="checkbox" class="xuanze"/>
<button class="quanxuan">全选</button>
<button class="fanxuan">反选</button>
</body>
<script type="text/javascript">
var oxuanze=document.getElementsByClassName("xuanze&