window.onload = function(){
var allA = document.getElementsByTagName("a");
for(var i=0 ; i <allA.length ; i++)
{alert("for循环正在执行"+i);
allA[i].onclick = function(){alert("响应函数正在执行"+i);
//alert(allA[i])...
English Article | Word Count | Duration | Accuracy | Speed | Backspace | Error | Slogan |
---|---|---|---|---|---|---|---|
《1》 | 222字 | 6.0分钟 | 100% | 66 CPM | 17 次 | 0 | 不及格,加强练习! |
Inspirational quotes: 永远不要让别人对你说,你不能做一件事,哪怕是自己也不可以,假如你有梦想,你就有责任去捍卫它,别人不能做一件事,他就想告诉你你也不可以,你想得到一样东西,你要踏前一步,实现它。 ——加德纳 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |