event binds a function, and when blur occurs, alert enters tagName
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<table>
<tr>
<td>goods1</td>
<td><input type="text" name="goods1"></td>
</tr>
<tr>
<td>goods2</td>
<td><input type="text" name="goods2"></td>
</tr>
</table>
<script>
function mouse_out(event){
ob = event.target;
alert(ob.tagName);
}
document.addEventListener("blur",mouse_out,true);
</script>
</body>
</html>
this code runs 10 times, and one of them has a special failure, and the alert window cannot be closed, which is particularly strange. For the screen copy of
in case of failure, please see
extraction Code: ii6k
or see
https://www.dropbox.com/s/szm.
this js is so short and mundane that it sometimes runs with strange problems, and the alert window cannot be closed (once happened 10 times, and you will see the situation shown in the test.avi I sent over and over again). I also doubt my life
.function mouse_out(event){
ob = event.target;
alert(ob.tagName);
}
document.addEventListener("blur",mouse_out,true);