<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JavaScript自动复制文本框的内容到另一个文本框中</title>
<script type="text/javascript">
function enfocus()
{
}
function enblur()
{
}
</script>
</head>
<body οnlοad="enblur()">
<center><form>
在这里打字: <input type="text" size="40" name="data"><br>
复制的内容: <input type="text" size="40" name="copy"><br>
</form></center></body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JavaScript自动复制文本框的内容到另一个文本框中</title>
<script type="text/javascript">
function enfocus()
{
}
function enblur()
{
</script>
<body οnlοad="enblur()">
<center><form>
在这里打字: <input type="text" size="40" name="data.asd" id="a"><br>
复制的内容: <input type="text" size="40" name="copy.asf" id="b"><br>
</form></center></body>
</html>