Home  >  Article  >  Backend Development  >  请教各大侠,怎么在PHP中获取Input 的值

请教各大侠,怎么在PHP中获取Input 的值

WBOY
WBOYOriginal
2016-06-13 13:20:071272browse

请问各大侠,如何在PHP中获取Input 的值!






如何可以不用form就可以获取到bet_score 的输入值?

------解决方案--------------------
HTML code





<script>
function checks(){
    window.location.href='2.htm?test='+document.getElementsByTagName("input")[0].value;
}
</script>

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