Home  >  Article  >  Backend Development  >  请教:在一个文本框中的数值,如何传到另一个页面上,不用POST

请教:在一个文本框中的数值,如何传到另一个页面上,不用POST

WBOY
WBOYOriginal
2016-06-13 13:50:36784browse

请问:在一个文本框中的数值,怎么传到另一个页面上,不用POST

                                     


要把文本框的值通过下面的button传到messagesend.php中去,因为都在同一个form下,提交整个表单进入另一个文件中,所以不能用$_POST传,怎么办?

------解决方案--------------------



------解决方案--------------------
[个人意见,仅供参考]






------解决方案--------------------
form.action= 'messagesend.php ';
form.submit();

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn