Home > Backend Development > PHP Tutorial > php 下拉菜单拣选某个值后,控制另一个下拉菜单的显示或隐藏

php 下拉菜单拣选某个值后,控制另一个下拉菜单的显示或隐藏

WBOY
Release: 2016-06-13 12:02:41
Original
1457 people have browsed it

php 下拉菜单选取某个值后,控制另一个下拉菜单的显示或隐藏
次下拉菜单是yii CActiveForm渲染出来的,$htmlOptions项包含ajax
------解决方案--------------------
这个涉及的是前端的吧,利用jquery的change事件来控制吧
------解决方案--------------------
可以给这个select项增加一个js特效来实现。

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