日期:2014-05-17 浏览次数:20771 次
<html>
<head>
</script>
<script>
function setValue(){
document.getElementById('back').value=document.getElementById("write").value;
}
</script>
</head>
<body>
<input type="text" id="back" value=""/>
<p>请输入文字:<input type="text" id="write" value=""/></p>
<input type="button" value="提交" onclick='setValue()'/>
</body>
</html>