<!DOCTYPE?html>
<html?lang="en">
<head>
????<meta?charset="UTF-8">
????<title>Title</title>
????<style>
????????div{
????????????width:80px;
????????????height:80px;
????????????border:1px?solid?#000;
????????}
????</style>
</head>
<body>
<div?class="aaa"?id="p1">
????<span>111</span>
????</div>
<div?class="aaa"?id="p2">
????<span>333</span>
</div>
<div?class="aaa"?id="p3">
????<span>2222</span>
</div>
</body>
</html>
3個相同的div,怎么獲取到點擊的div,并刪除他?JS
19990000
2017-10-02 22:31:11