onclick="show(t1)">-->onclick="show(this)">
document.all.t2.value=document.all.t2.value+document.all.a.value
-->
document.all.t2.value=document.all.t2.value+a.t1.value
document.all.t2.value=document.all.t2.value+document.all.a.value
-->
document.all.t2.value=document.all.t2.value+a.t1.value
解决方案 »
- 关于时间有效期
- php学习
- jquery 1.4 以后如何获取 readyList (或者说如何获取闭包中的变量)
- 请教ff语句
- 高手来看看,有什么办法能这样即时显示总价?
- 有很多 radio,checkbox等,我能不能一次性地设置 onfocus=this.blur(),就像CSS那样,而不用在每一个radio设置
- 为什么我用了xmlhttp在有的机子上可以正常,有的机子上就不行啊,会出现这个提示:"Error in Sending:'xmlhttp'为空或不是对象",这一般是什
- JS中判空的方法有哪些?
- 求 不受空间限制的 javascript 编写的网站计数器,请指教
- ie8下,提交 $('#form1').ajaxSubmit(options)提交,提示拒绝访问
- 真的没人知道何删除一个表格?
- 对象的问题。哈哈~~~~~~~~~`
function show(a){
a.t2.value=a.t2.value+a.t1.value}
</script>
<form name="form1" method="post" action="">
t1:<input type="text" name="t1">
t2:<input type="text" name="t2">
<input type="button" name="button" value="go" style="cursor:hand;"
onclick="show(this.form)">
</form
<script language=javascript>
function show(a){
document.all.t2.value=document.all.t2.value+document.all.a.value}
</script>
<form name="form1" method="post" action="">
t1:<input type="text" id="t1">
t2:<input type="text" id="t2">
<input type="button" name="button" value="go" style="cursor:hand;"
onclick="show(t1)">
t3:<input type="text" id="t3">
<input type="button" name="button" value="go" style="cursor:hand;"
onclick="show(t3)">t4:<input type="text" id="t3">
<input type="button" name="button" value="go" style="cursor:hand;"
onclick="show(t4)"></form>
function show(a){
document.all.t2.value=document.all.t2.value+a.value}
</script>
<form name="form1" method="post" action="">
t1:<input type="text" id="t1">
t2:<input type="text" id="t2">
<input type="button" name="button" value="go" style="cursor:hand;"
onclick="show(this)">
</form>