以下为代码段
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<div id="app">
<button type="button" class="btn btn1">点击1</button>
<button type="button" class="btn">点击1</button>
<input type="text" name="a1" />
<input type="text" name="a1" />
<span>xiaoping</span>
<span>xiaomeng</span>
</div>
<script type="text/javascript">
// 通过id获取DOM
var app = document.getElementById("app&