<a href="javascript:comform('<%=row_customerId%>','<%=row_customerName%>','<%=row_accountId%>','<%=row_account%>')" target="_parent"><%=row_account%></a>

解决方案 »

  1.   

    在 comform() 这个函数中处理,让他在parent 父窗口打开
      

  2.   

    <a href="" onclick="comform('<%=row_customerId%>','<%=row_customerName%>','<%=row_accountId%>','<%=row_account%>')" target="_parent"><%=row_account%></a>
      

  3.   

    letsflytogether(恨!不能拥有天下所有的财富,然后平分)  这种方法我早就试了,不行!打开的网页根本就是错误的。
    由于我的目的是要靠comform函数把值传给cusForm表单中的一些隐藏域,然后再通过document.cusForm.submit();提交此表单function comform(row_customerId,row_customerName,row_accountId,row_account,row_phoneNumber) {
        
      document.cusForm.customerId.value=row_customerId;
      document.cusForm.customerName.value=row_customerName;
      document.cusForm.accountId.value=row_accountId;
      document.cusForm.account.value=row_account;
      document.cusForm.phoneNumber.value=row_phoneNumber;
      document.cusForm.submit();
    }