parent.html如何將值從一個表單發佈到另一個表單?
<HTML>
<form name="form" method="post" action="child2.html">
<input type="text" value="" name="text2" id="pdetails2">
<input type=submit name="submit" value="submit"></form>
</html>
child2.html
<HTML>
<form name="form1">
<input type="text" value="" name="text3" id="pdetails3">
</form><html>
這裏,如果我給在父窗體文本框中的任何值,一旦我點擊提交按鈕,我需要在文本框中VALU child2表單文本框我可以做什麼?
你不能只使用HTML,而且你不能只用JavaScript訪問POST我相信。你是否使用服務器端語言? – alex 2011-03-22 06:30:51
這是一個好主意,接受一些其他問題的答案。對於較新的問題你會得到更好的迴應,並且你會得到一些聲望。 – 2011-03-22 06:32:45
如果KoolKabin答案正在爲您工作,請點擊左側的「V」圖標接受它。 – 2011-03-22 15:49:31