<td><input name="bstime" type="text" id="bstime" value="<%=(Recordset1.Fields.Item("bstime").Value)%>" onchange="set(this.parentNode.parentNode)" onblur="send()"/></td>
.....
<script>
function set(row)
{
   document.form1.a.value = row.firstChild.innerHTML;
   document.form1.b.value = row.lastChild.firstChild.value;
   document.form1.c.value = "bs";
}
function send(){
   document.form1.target= "aaa"; //aaa是iframe的name;
   document.form1.submit();
}
</script>

解决方案 »

  1.   

    楼上的方法会产生一个窗口永远关不掉...而且输入a,b,c的值未传入searchsave.asp
      

  2.   

    你先把onblur去掉,看看abc的值有没有传到form1里,
    原理给你了,代码细节你再处理一下吧
      

  3.   

    其他的都搞定了..问下onblur="window.parent.wmain.aaa.location.href ='searchsave.asp?a=document.form1.a.value'"我这样错在哪..
      

  4.   

    传过去的结果是:   document.form1.a.value  晕了
      

  5.   

    要隔开
    ---------------------------------------
    onblur="window.parent.aaa.location.href ='searchsave.asp?a=' + document.form1.a.value;"
      

  6.   

    window.parent.wmain.aaa.location.href ='searchsave.asp?a='+document.form1.a.value
      

  7.   

    <script language='javascript'>
    document.body.onload=function(){
      var tb = getElementsByName("名字");
      for(var i=0;i<tb.length;i++){
        tb[i].onblur="里边自己写吧";
      }
    }
    </script>