在我的 cfselect 绑定执行后,我尝试运行一个 javascript 函数。有什么办法可以实现吗?这是我的声明。
cfselect name="artType" id="artType" size="1" query="qArtType" display="the_value" value="id"
cfselect id="allValues" name="allValues" multiple="true" bindonload="true" bind="cfc:art.getArt({artType})" size="10" style="width: 100%;"
第一个选择“artType”驱动第二个选择“allValues”。
我想在绑定执行后调用一个 javascript 函数。它被称为 listAll()。有什么办法可以做到这一点。谢谢。