第一个事件动画

Original 2019-01-07 18:11:16 245
abstract:DOCTYPE html><html><head> <title>事件</title></head><body><script type="text/javascript">function myfovus(x){ x.style.borderRadius="pink"

DOCTYPE html>

<html>

<head>

<title>事件</title>

</head>

<body>

<script type="text/javascript">

function myfovus(x){

x.style.borderRadius="pink"

}

function myclic(y){

y.style.borderRadius="100px"

}

</script>

姓名:<input type="text"   ondblclick="myfovus(this)"><br>

姓名:<input type="text"   ondblclick="myfovus(this)"><br>

姓名:<input type="text"   ondblclick="myfovus(this)">

<br>

<br>

 <div style="width: 100px;height: 100px;border: 1px solid #fff; background: pink;" ondblclick="myclic(this)"></div>

</body>

</html>


Correcting teacher:灭绝师太Correction time:2019-01-07 18:17:20
Teacher's summary:事件方法测试全面点,完成的不错,以后的作业只限于测试可不行奥

Release Notes

Popular Entries