<script type="text/javascript">
function month() {
var x = document.getElementsByName("month")
document.getElementById("a3").innerHTML = x[0].value;
}
function year() {
var y = document.getElementsByName("year")
document.getElementById("b3").innerHTML = y[0].value;
}
</script>
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100">Ячейка 1</td>
<td width="200"><input type="text" name="month" /></td>
<td width="100"><input type="button" value="Ввести" onclick="month()" /></td>
</tr>
<tr>
<td>Ячейка 2</td>
<td><input type="text" name="year" value=""/></td>
<td><input type="button" value="Ввести" onclick="year()" /></td>
</tr>
</table>
<table width="600" border="1" cellspacing="0" cellpadding="0">
<tr>
<td align="center" id="a3">Data1</td>
<td align="center" id="b3">Data2</td>
</tr>
</table>