点击后弹出一个数或者其他的。
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<button οnclick="cls()">点击</button>
</body>
<script type="text/javascript" >
function cls(){
setTimeout("alert(1)",2000);
}
</script>
</html>