A
Adrian Parker
This code is very simple, but it doesn't do anything.. can someone point
out what I'm doing wrong please..
When user enters text into t11, it should be copied to t12.
<HTML>
<HEAD>
<title>onChange Test</title>
</HEAD>
<BODY>
<script language="JavaScript">
function recalc()
{
document.frm.t12.value = document.frm.t11.value;
}
</script>
<FORM name="frm" method="post" action="post">
Source <input name="t11" type="text" onChange="recalc(); return
true;" />
<br>
Target <input name="t12" type="text" />
</FORM>
</BODY>
</HTML>
out what I'm doing wrong please..
When user enters text into t11, it should be copied to t12.
<HTML>
<HEAD>
<title>onChange Test</title>
</HEAD>
<BODY>
<script language="JavaScript">
function recalc()
{
document.frm.t12.value = document.frm.t11.value;
}
</script>
<FORM name="frm" method="post" action="post">
Source <input name="t11" type="text" onChange="recalc(); return
true;" />
<br>
Target <input name="t12" type="text" />
</FORM>
</BODY>
</HTML>