复制代码 代码如下:
function delinfo( salebillid )
{
if( confirm(是否真的要删除当前记录?) )
{
var objxmlhttp = new activexobject(microsoft.xmlhttp);
objxmlhttp.open(get, sale_listinfo_del.aspx?salebillid=+ salebillid, false);
objxmlhttp.send();
var returnhtml = objxmlhttp.responsetext;
if( returnhtml == ) location.href( location.href );
else alert( returnhtml );
}
}
删除