<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>
.....
<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>
原理给你了,代码细节你再处理一下吧
---------------------------------------
onblur="window.parent.aaa.location.href ='searchsave.asp?a=' + document.form1.a.value;"
document.body.onload=function(){
var tb = getElementsByName("名字");
for(var i=0;i<tb.length;i++){
tb[i].onblur="里边自己写吧";
}
}
</script>