为什么还要自动产生C呢?你在接收时把a的值加b不就行了吗?
真不知道你要这功能的意义!
<form name=form1>
a<input name="a">b
<input name="b">
<input type=submit value="提交" onclick="return cc()">
</form>
<script language=javascript>
function cc()
{
//form1.a.
 var t=document.createElement("input");
 form1.appendChild(t);
 t.name="c";
 t.type="text";
 t.value=form1.a.value+form1.b.value; if(confirm("确认要提交吗?"))
 {
 return true
 }
 return false;
}
</script>