Grails2.0.1依赖项下拉列表
我想知道是否有人在Grails2.0.1中开发了类似Country and State的依赖下拉列表,而没有使用prototype。欣赏代码片段您只需使用remotefunction和g:Select,类似Grails2.0.1依赖项下拉列表,grails,Grails,我想知道是否有人在Grails2.0.1中开发了类似Country and State的依赖下拉列表,而没有使用prototype。欣赏代码片段您只需使用remotefunction和g:Select,类似 <g:select onchange="${remoteFunction( controller:'example', action:'country', upd
<g:select
onchange="${remoteFunction(
controller:'example',
action:'country',
update:'state',
params:'\'country=\'+$(\'#country\').val()' }"
name="country" ... />