84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
What is the difference between onclick and infocus - PHP Chinese website Q&A - What is the difference between onclick and infocus - PHP Chinese website Q&A
Take a look around and learn.
区别:onclick是点击事件,当你鼠标按下后回弹起来触发相应函数,在浏览器中任何地方都可以点击。而onfocus是在一般出现在在用户输入的时候有焦点时触发函数,就是有条竖线一直在闪动的那就是焦点,当你点其他不能输入的地方你就会失去焦点。
What is the difference between onclick and infocus - PHP Chinese website Q&A - What is the difference between onclick and infocus - PHP Chinese website Q&A
Take a look around and learn.
区别:onclick是点击事件,当你鼠标按下后回弹起来触发相应函数,在浏览器中任何地方都可以点击。而onfocus是在一般出现在在用户输入的时候有焦点时触发函数,就是有条竖线一直在闪动的那就是焦点,当你点其他不能输入的地方你就会失去焦点。