出来るのだASP Q&A掲示板(過去LOG)
訪問数 52046
昨日 889
今日 776 【PR】 パソコン入門からIT専門書まで幅広く取り揃えています。セブン-イレブン受取り手数料無料のセブンアンドワイ。 |
![]() ![]() ![]() ![]() ![]() |
[5046] Re:検索文字の受渡し |
投稿者:超初心者ひかりさん 2005/06/08 12:59:57 |
こんにちは。アドバイスありがとうございます。 自分なりに理解してやっとaaa.aspに送られて来たデータを 書き出せるようになりました。 ありがとうございました。 Index.html > <html> > <head> > <script language="javascript"> > function f(str) { > form1.test1.value = str; > form1.submit(); > } > </script> > </head> > <body> > <a href="javascript:f('あ')"><img src="gif.gif"></a> > <form name="form1" action="aaa.asp" method="post"> > <input type="text" name="test1"> > </form> > </body> > </html> aaa.asp <html> <head> <title>フォームデータの取得</title> </head> <body> <% text1 = Request.Form("test1") Response.Write "<P>入力値:" & text1 %> </body> </html> |
![]() ![]() ![]() |
![]() ![]() ![]() ![]() ![]() |
TreeBBS For ASP V.0.1.3 |