Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道如何在 Zend Form 中创建依赖下拉列表(选择)吗?即两个下拉菜单,国家和城市。只有在选择国家/地区时才会填充城市。谢谢
在 zend 元素(国家)中,您必须添加一个属性
'onchange' => 'fillCityBox(this.value)'
此函数 ( fillCityBox) 使用 ajax 填充城市下拉列表。
fillCityBox