把上框架中form的target设为下框架的name即可<form target="下框架名" action="页面地址" method="post">

解决方案 »

  1.   

    呵呵!leohuang(LEO) ( ) 
    高!学习
      

  2.   

    关键是  target="下框架名"
      

  3.   

    <form target="下框架名" action="表单处理地址" method="post">
      

  4.   

    上下框架用iFrame,提交时form.target="下框架iframe名"
      

  5.   

    test.html
    -------------------------------------------------------------------------------------<input type=button value=调用本页函数删除 onclick=delrecord(myframe.myform)>
    <input type=button value=调用框架函数删除 onclick=myframe.delrecord(myframe.myform)>
    <br/>选其一即可
    <br/>
    <iframe name=myframe src="test.asp"></iframe>
    <script>
    function delrecord(obj){
    obj.submit();
    }
    </script>
    test.asp
    ----------------------------------------------------------------------------
    <form id=myform action="" target=_self method=post>
     <%
    page=request("page")
    response.write request("sub")
    if request("mycheck")<>"" then
    strCheckedValues=request("mycheck")
    response.write strCheckedValues
     'PassIt '调用删除
        page=cstr(cint(page)+1) '这里转化主要是为了符合你的函数调用
    end if
      
      url="Default.asp"
      
      'Call DB_Connection(DSNstring)
      
      sql="select ID,name,adrress,PhoneNum,birthday from tbl_Member WHERE IsPass='0'" 
      'Call cutPage(sql,Connector,"12",page,url)'20代表每页显示20条记录 
    %>
    <!--你的数据//-->
    <input type=checkbox name=mycheck value=1>内容<br/>
    <input type=checkbox name=mycheck value=2>内容<br/>
    <input type=checkbox name=mycheck value=3>内容<br/>
    <input type=checkbox name=mycheck value=4>内容<br/>
    <input type=checkbox name=mycheck value=5>内容<br/>
    </form>
    <script>
    function delrecord(obj){
    obj.submit();
    }
    </script>
    这里是控制另一个框架的input的方法进行表单提交,你可以照样来控制input的value。