Implementation method of html input drop-down menu_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:36:42
Original
1733 people have browsed it

复制代码
代码如下:






echo '







';
$aa=$_GET['hh']."111"; // select 下拉菜单的值
$bb=$_GET['box']."222"; // 输入框的值
echo $aa;
echo "
";
echo $bb;
// 要获得可输入下拉菜单的值,只要获得输入框的值即可。
?>


 

要获得可输入下拉菜单的值,只要获得输入框的值即可。

注意:

这行要在一行中,不能写成





换行了之后则下拉菜单的值不能显示在 输入框中。

还可以根据输入的内容自动选择匹配的菜单值。
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