<form name="form1" method="post" action="" target="topFrameName">

解决方案 »

  1.   

    <form name="form1" method="post" action="" target="topFrameName">
      

  2.   

    谢谢net_lover(孟子E章)   我不是要提交到Frame(topFrame),而是要提交到frame的parent(也就是frameset),也就是打开两上框架(0.htm),我也想到用frame 的name.,但好像设置frameset的name属性..还是不起作用..
      

  3.   

    <form name="form1" method="post" action="" target="_parent">
      

  4.   

    不对呀!!"_parent"只是打开子窗口的父,而真正应该是子窗口的父的父..--------FrameSet--------
    |                      |
    TopFrame              MainFrame
    |
    子窗口我现在是要提交到FrameSet位置
      

  5.   

    <form name="form1" method="post" action="" target="_top">
    //代表最顶端窗口
    要是这样还不行,就只能用JS来实现了
      

  6.   

    这样一样要打开一个新窗口,你说用js咱实现..我把函数写在TopFram或MainFram里,是可以的..但这样必须从子窗口向Frame传参数..唉..想直接在子窗口中搞定..
      

  7.   

    <form name="form1" method="post" action="" target="_top">
    这样做应该不会弹出新窗口的啊
    用JS试一下这样
    <form name="form1" method="post" action="" onsubmit="this.target=window.top">