摘要:<!DOCTYPE html> <html> <head> <title>点击事件</title> </head> <body> <script type="text/javascript"> function myclic(y
<!DOCTYPE html>
<html>
<head>
<title>点击事件</title>
</head>
<body>
<script type="text/javascript">
function myclic(y){
y.style.borderRadius="50px"
}
</script>
<div style="width:100px;height:100px;border:1px solid #ccc;background:red;" onclick="myclic(this)"></div>
</body>
</html>
批改老师:天蓬老师批改时间:2019-04-08 10:21:47
老师总结:你的点击事件够简单, 但实际工作中, 可能不会这么写的