This time I will show you how to implement the inputable drop-down menu of html, what are thenotesof implementing the inputable drop-down menu of html, the following is a practical case, let's come together take a look.
'; $aa=$_GET['hh']."111"; // select 下拉菜单的值 $bb=$_GET['box']."222"; // 输入框的值 echo $aa; echo ""; echo $bb; // 要获得可输入下拉菜单的值,只要获得输入框的值即可。 ?>
To get the value that can be entered into the drop-down menu, just get the value of the input box.
Note:
This line must be in one line and cannot be written as
After the line break, the value of the drop-down menu cannot be displayed in the input box.
You can also automatically select matching menu values based on the input content.
I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!
Related reading:
How to implement the download function in html
##canvas.toDataURL image/png How to deal with errors
The above is the detailed content of How to implement an input drop-down menu in html. For more information, please follow other related articles on the PHP Chinese website!