鱼跃于渊

First know how, Second know why !
posts - 0, comments - 1, trackbacks - 0, articles - 49

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script type="text/javascript">
 window.onload=initAll ;
 function initAll(){
  document.getElementById("test01").onclick=test ;
 }
 function test(evt){
  
  var src = evt ? evt.target : window.event.srcElement ;
  alert(src) ;
  return false ;
 }
</script>

</head>
<body>
 <center>
  <a href="http://www.baidu.com" id="test01">test01</a>
 </center>
</body>
</html>


只有注册用户登录后才能发表评论。


网站导航: