addEventListener怎么提示说不可以读取property,执行不了,这段是一小部分
function aa(){
var aa1=prompt("nishi","22");
if(aa1!=" "){
alert(1)
}else{
alert(2)
}
}
var cli=document.getElementById("aac");
cli.addEventListener('click',aa,true)
</script>
</head>
<body>
<form action="">
<input type="text" value="1" id="a">
<select name="" id="d">
<option value="+">+</option>
<option value="-">-</option>
<option value="/">/</option>
<option value="*">*</option>
</select>
<input type="text" value="2" id="b">
<input type="button" value=" = " onclick="math1()">
<input type="text" id="c">
<input type="text" id="clock" value="5"><button id="aa22" >abc</button>
<input type="button" value="aa" id="aac">