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

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

WBOY
Release: 2016-06-13 13:20:07
Original
1293 people have browsed it

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






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

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





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

Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template