作业帮 > 综合 > 作业

function detail(a)

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/29 13:29:39
function detail(a)
{
c="u_1_jg.jsp?id="+a;
window.open(c,'newwindow2','height=531,width=950,top='+(screen.availHeight-531)/2+',left='+(screen.availWidth-950)/2+',toolbar=no,status=no,scrollbars=yes,menubar=no,location=no');
}
function del(vid){
if (confirm("确定要删除此记录吗 "))
{
document.querydep.del.value =vid;
document.querydep.action="del_jg.jsp";
document.querydep.submit();
}
}
function submit01()
{
self.location.replace("q_jg.jsp")
}
// -->
/>function detail(a)
{
//地址
c="u_1_jg.jsp?id="+a;
//脚本运行后,c这个连接将在新窗体newwindow2中打开,宽为950,高为531,距屏顶 ?象素,屏左?象素,无工具条,无状态栏,有滚动条,无菜单,无地址
栏.请对照.
window.open(c,'newwindow2','height=531,width=950,top='+(screen.availHeight-531)/2+',left='+(screen.availWidth-
950)/2+',toolbar=no,status=no,scrollbars=yes,menubar=no,location=no');
}
function del(vid){
//选择提示框
if (confirm("确定要删除此记录吗 ?"))
{
//删除操作
document.querydep.del.value =vid;
document.querydep.action="del_jg.jsp";
document.querydep.submit();
}
}
//刷新q_jg.jsp页面
function submit01(){
self.location.replace("q_jg.jsp")}
// --