<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="Gao YiXiang" />
<meta name="email" content="yixianggao@126.com" />
<meta name="keywords" content="javascript dhtml dom" />
<meta name="description" content="I love web development." />
</head>
<body>
<h3>IE6 sp1, FF2 测试可用!</h3>
<input type=text size=35 value="so easy">
<input type=text size=35 value="so easy">
<input type=text size=35 value="so easy">
<input type=text size=35 value="so easy">
<input type=text size=35 value="so easy">
<input type=text size=35 value="so easy">
<input type=text size=35 value="so easy">
<script type="text/javascript">
<!--
var cInput = document.getElementsByTagName("input");
for (var i=0; i<cInput.length; i++)
{
if (cInput[i].type == "text")
{
cInput[i].onmouseover = function()
{
this.select();
};
}
}
//-->
</script>
</body>
</html>