addEventListener 中为什么click要加引号
<!DOCTYPE htmL>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<div>
<input type="button" value="确定" id="btn1">
</div>
<script type="text/javascript">
function showmes(){
alert('hello world!');
}
var btn1=document.getElementById("btn1");
btn1.addEventListener('click', showmes,false);
</script>
</body>
</html>