为什么需要两个FORM,其实一个FORM你根据不同的按钮可以做不同的处理,或者分成两页,再或者用IFRAME嵌入另一个FORMpost是比较好的,数据不在地址栏里显示,数据也不能从地址栏里获得,别人不能直接连接,字串可以大于255
get不安全,数据全在地址栏里可以被看到,别人可以直接连接,字串不能大于255

解决方案 »

  1.   

    怎样动态的把一个网页内容作为另一页面的一部分?
    例如:下面网页中<div>和</div>之间的内容是另一个网页。而且是动态加载进来的。
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
        <title></title>
        <form id="form_help" action="help_content.php" method="get">
            <input name="help_topic" type="hidden" value="1090000">
            <input name="help_title" type="hidden" value="版权声明">
            <input name="help_url" type="hidden" value="">
        </form>
    </head>
    <body bgcolor="#FFFFDD" style="margin:0px; padding:0px;">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td id="headerHelpBar" valign="middle" nowrap style="width:100%; height:22px;"><table cellpadding="0" cellspacing="0" class="HeaderPageControl">
                    <tr>
                        <td nowrap align="left" valign="middle" height="20">帮助主题:<b style="font-size:9pt;">版权声明</b></td>
                        <td nowrap align="right" valign="middle" width="180" height="20"><img id="id_home" alt="帮助首页" onclick="JavaScript:fn_ShowHelp(1000000)" onmouseover="JavaScript:this.src=imgHomeUp.src" onmouseout="JavaScript:this.src=imgHomeDown.src" src="/images/toolbar_home.gif" border="0" style="cursor:hand;" width="22" height="20"><img id="id_back" alt="上一主题" onclick="JavaScript:fn_ShowHelp(1061001)" onmouseover="JavaScript:this.src=imgBackUp.src" onmouseout="JavaScript:this.src=imgBackDown.src" src="/images/toolbar_back.gif" border="0" style="cursor:hand;" width="22" height="20"><img id="id_front" alt="下一主题" onclick="JavaScript:fn_ShowHelp(1000000)" onmouseover="JavaScript:this.src=imgFrontUp.src" onmouseout="JavaScript:this.src=imgFrontDown.src" src="/images/toolbar_front.gif" border="0" style="cursor:hand;" width="22" height="20"><img id="id_refresh" alt="刷新" onclick="JavaScript:document.location.reload()" onmouseover="JavaScript:this.src=imgRefreshUp.src" onmouseout="JavaScript:this.src=imgRefreshDown.src" src="/images/toolbar_refresh.gif" border="0" style="cursor:hand;" width="22" height="20"><img id="id_locate" alt="定位到操作区相关主题" onclick="JavaScript:fn_SyncHelp()" onmouseover="JavaScript:this.src=imgLocateUp.src" onmouseout="JavaScript:this.src=imgLocateDown.src" src="/images/toolbar_locate.gif" border="0" style="cursor:hand;" width="22" height="20"><img id="id_searchweb" alt="查找" onmouseover="JavaScript:this.src=imgSearchWebUp.src" onmouseout="JavaScript:this.src=imgSearchWebDown.src" src="/images/toolbar_searchweb.gif" border="0" style="cursor:hand;" width="22" height="20"></td>
                        <td nowrap align="right" valign="middle" width="25" height="20"><img id="id_close" alt="关闭帮助" onclick="JavaScript:fn_HideHelpWindow()" onmouseover="JavaScript:this.src=imgCloseUp.src" onmouseout="JavaScript:this.src=imgCloseDown.src" src="/images/toolbar_close.gif" border="0" style="cursor:hand;" width="22" height="20"></td>
                    </tr>
            </table></td>
        </tr>
        <tr>
            <td valign="top">
                <div id="viewPaneHelp" style="visibility:visible; position:absolute; overflow:auto;">
                    <table width="668" height="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:9pt;font-family:宋体">
        <tr><td colspan="2" height="15"></td></tr>
        <tr>
            <td width="15" nowrap valign="top"></td>
            <td width="100%" valign="top">
    <!-- content goes here -->
    <p><b><font class="englishfont">Prim@&trade;Hosting</font>虚拟主机管理平台 v2.5Pro</b>
    <p>版权所有 <font class="englishfont">&reg;</font> 2001 北京创值立信软件技术有限责任公司 保留所有权利
    <br><font class="englishfont">Copyright &reg; 2001 ValueOf Software Technology Co.,Ltd. All Right Reserved</font>
    <p>警告:本软件产品受版权法和国际条约保护。
    <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如未经授权复制或传播本软件产品(或其中任何部分),将受到严厉的民事及刑事制裁,并在法律许可
    <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;的范围内受到最大可能的起诉。
    <!-- content ends -->
            </td>
        </tr>
    </table>
                </div>
            </td>
        </tr>
    </table>
    </body>
    </html>
      

  2.   

    <script language ="javascript" src="js/common_prima.js"></script>
    为什么不执行?