jquery-ui autocomplete in grails

ぃ、小莉子 提交于 2019-11-29 08:16:33

At first you need to add in your main.gsp (in head) this to lines

 <g:javascript library="jquery"/>
 <g:javascript library="jquery-ui"/>

the plugin will downloaded automatically.

and for complete example you can use this link

http://jay-chandran.blogspot.com/2011/09/using-grails-with-jquery-autocomplete.html

you should really try to do this yourself and then ask a question about how something works or why something is not working.

but a good place to start is the general jquery - ui documentation

http://jqueryui.com/demos/autocomplete/

and then you could run through a simple example like this:

http://ohmiserableme.blogspot.com/2011/08/grails-jquery-ajax-autocomplete-with.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!