<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script language="JavaScript" type="text/JavaScript">
function init()
{
alert("load");
document.getElementById("2").focus();
}
</script>
<body οnlοad="init()">
<p><a href="#" id="1">ddd</a></p>
<p><a href="#" id="2">fff </a></p>
</body>
</html>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script language="JavaScript" type="text/JavaScript">
function init()
{
alert("load");
document.getElementById("2").focus();
}
</script>
<body οnlοad="init()">
<p><a href="#" id="1">ddd</a></p>
<p><a href="#" id="2">fff </a></p>
</body>
</html>