window.open("sendFree.aspx?mobileNum=" + escape(mobileNum) + "&picID=" + escape(picID) + "&fileType=" + escape(fileType),"","_self,width=350,height=180,location=no,menubar=no,resizable=no,scrollbars=yes,status=yes,titlebar=yes,toolbar=no")

解决方案 »

  1.   

    window.open("sendFree.aspx?mobileNum=" + escape(mobileNum) + "&picID=" + escape(picID) + "&fileType=" + escape(fileType),"_self","width=350,height=180,location=no,menubar=no,resizable=no,scrollbars=yes,status=yes,titlebar=yes,toolbar=no")mobileNum,picID,fileType都有值吗?
      

  2.   

    这样没错的<script language=javascript>
    function aa(mobileNum,picID,fileType)
    {
    window.open("2.htm?mobileNum=" + escape(mobileNum) + "&picID=" + escape(picID) + "&fileType=" + escape(fileType),"","_self,width=350,height=180,location=no,menubar=no,resizable=no,scrollbars=yes,status=yes,titlebar=yes,toolbar=no")
    }
    </script><form name="frm">
    <input type="text" name="mobileNUm" value="1" size="20"><br>
    <input type="text" name="picID" value="2" size="20"><br>
    <input type="text" name="fileType" value="3" size="20"><br>
    <input type="button" value="open" onclick="aa(document.frm.mobileNUm.value,document.frm.picID.value,document.frm.fileType.value)"
    </form>