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

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

WBOY
WBOYOriginal
2016-06-13 12:02:411434browse

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

Statement:
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