b页面
<script>
var xmlHttp;
function getxmlHttp(){//建立xmlhttp对象
if (window.XMLHttpRequest){xmlHttp = new XMLHttpRequest();}
else{xmlHttp = new ActiveXObject("Microsoft.XMLHttp");}
}function delsomething(id){
var url="xxx.asp?id="+id;//你所讲的删除数据的操作地址
getxmlHttp();
xmlHttp.onreadystatechange = doComplete;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function doComplete(){
if (xmlHttp.readyState == 4||xmlHttp.readyState=="complete"){
parent.window.frames[0].location.href="a页地址";
//frames[0]是a页框架数组序列
//也可以这样引用a框架parent.window.frames["xxx"].location.refresh();
//xxx指a框架id或name
}