Home > Backend Development > PHP Tutorial > 请问怎么实现选择下拉列表框的值之后执行相应的操作

请问怎么实现选择下拉列表框的值之后执行相应的操作

WBOY
Release: 2016-06-23 14:14:19
Original
914 people have browsed it

下拉列表框的值是一些文件名,我想实现的功能就是,选择下拉列表相应的文件之后,显示这个文件的下载地址。不要点查询按钮。


回复讨论(解决方案)

参见 select 标签的 onchange 事件:  http://www.w3school.com.cn/htmldom/event_onchange.asp

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