摘要:<!DOCTYPE html><html><head> <title>事件</title></head><body><script type="text/javascript">function myclick(x){ x.style.borderRadius="50px
<!DOCTYPE html>
<html>
<head>
<title>事件</title>
</head>
<body>
<script type="text/javascript">
function myclick(x){
x.style.borderRadius="50px"
}
</script>
<div> style="width:100px;height:100px;border:1px solid #ccc; background:pink;"onclick="myclick(this)"</div>
</body>
</html>
批改老师:天蓬老师批改时间:2018-11-11 13:03:05
老师总结:js事件有很多,按发生主体分为自定义事件和系统事件,系统事件又可以进一步的进行划分,事件是js中非常重要的概念,一定要掌握