Home  >  Article  >  Web Front-end  >  点击按钮链接到新的页面,如何传递一个值到新的页面中?_html/css_WEB-ITnose

点击按钮链接到新的页面,如何传递一个值到新的页面中?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:46:061807browse

在页面上,点击按钮跳转页面,如何传递一个值到新的页面?
部分代码:


点击武汉的按钮同时,如何将value中的武汉传给test.html页面中,点击其它按钮传递其它的value值


回复讨论(解决方案)




通过location获取


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