利用js弹出窗口并传递参数

function doselgroup()
    {
        var rv = showModalDialog("/esp/app/input/ssgrouppope.jsp", null, "center:yes;resizable:no;help:no;status:no;dialogWidth:820px;dialogHeight:600px");
        if(rv != null && rv[0] != "cancel")
        {
            document.inputmanform.groupids.value = rv[1];
            document.inputmanform.actiontype.value = "ssgroup";
            document.inputmanform.submit();
        }
    }

你可能感兴趣的:(Javascript)