一般情况下,在form标签中直接增加,如下
<FORM ACTION=“getpost.php” METHOD=“post”>但是,如果在请求过程中的url指定,该如何写呢,
src="../basis/areaView.action?areaId="+node.id+"&datestr"+d;
如果上面的语句要指定post方法提交,该怎么写呢
<FORM ACTION=“getpost.php” METHOD=“post”>但是,如果在请求过程中的url指定,该如何写呢,
src="../basis/areaView.action?areaId="+node.id+"&datestr"+d;
如果上面的语句要指定post方法提交,该怎么写呢
form.method="post";
form.action="xxx.action?xxx="+xxx+"&xxx="+xxx;
form.submit;
document.getElementById("main").src="../basis/areaView.action?areaId="+node.id+"&datestr"+d;
<iframe id="main" src="../basis/areaView.action"></iframe>