我以前好像看过类似的贴子?是这样嘛?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>
<head>
<title>Untitled</title>
<Script language="javascript">
<!--
function fncVal(val)
{
document.form1.txt2.value=val;
}
//-->
</Script>
</head><body>
<form name="form1">
<center>
<table border="1">
<tr>
<td>
<input type="text" value="123" name="txt1" style="border:none" onclick="fncVal(this.value)" readonly>
</td>
<td>
<input type="text" value="" name="txt2" style="border:none" readonly>
</td>
</tr>
<table>
</center>
</form>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>
<head>
<title>Untitled</title>
<Script language="javascript">
<!--
function fncVal(val)
{
document.form1.txt2.value=val;
}
//-->
</Script>
</head><body>
<form name="form1">
<center>
<table border="1">
<tr>
<td>
<input type="text" value="123" name="txt1" style="border:none" onclick="fncVal(this.value)" readonly>
</td>
<td>
<input type="text" value="" name="txt2" style="border:none" readonly>
</td>
</tr>
<table>
</center>
</form>
</body>
</html>
<title>test</title>
</head>
<body>
<table>
<tr>
<td onClick="this.parentElement.children[1].innerText=this.innerText">123</td>
<td>456</td>
</tr>
</table>
</body>
function showNext(obj)
{
var tt = event.srcElement.sourceIndex;
document.all[tt+1].innerText = obj.innerText;}
</script>
<BODY>
<table>
<tr>
<td onclick="showNext(this)">xxxx</td>
<td></td>
<tr>
</table>
<table border=2><tr><td id=a width=200 onClick=b.innerText=a.innerText>111</td><td id=b width=200>2</td></tr></table>