Jquery-ui autocomplete in grails

Can someone give me complete steps for working with jQuery-ui autocomplete. I am using grails 2.0.1.

I need a complete example, including code for the controller and view.

Thanks in advance.

+3
source share
2 answers

First you need to add these to your main.gsp (in the head)

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

the plugin will be downloaded automatically.

and for a complete example you can use this link

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

+7
source

you really should try to do it yourself, and then ask a question about how something works or why something doesn't work.

jquery - ui

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

:

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

+7

All Articles