开发者

How can I send information from one html page to another?

开发者 https://www.devze.com 2022-12-21 18:08 出处:网络
I want to create an html page which contains a text box.When I am given inpu开发者_如何转开发t and the Enter key is pressed, I want it to go to another html page and display the typed keyword.

I want to create an html page which contains a text box. When I am given inpu开发者_如何转开发t and the Enter key is pressed, I want it to go to another html page and display the typed keyword.

How can I do this?


I think you need to use a server-side scripting language to facilitate the manipulation of the inputted data on the form, so that it gets "saved" and displayed in the other html page. I suggest you try reading about PHP, and then turn to handling information in Web Forms...just a thought!


You can use Javascript for that. Check this Tutorial : How do I pass variables between two pages? (GET method)

0

精彩评论

暂无评论...
验证码 换一张
取 消