jQuery Ajax request in Grails

How to use jQuery to make Ajax request in Grails pages?

How to setup a URL hitting a method on Grails Controller? Let’s say controller:’airport’, action:’getJson’ and input to the action is ‘iata’.

I am able to set static url as http://localhost:8080/trip/airport/getJson but not able to figure out how to pass input for iata specifically.

I am fairly new to Grails and following IBM’s ‘Mastering the Grails’ tutorial series. Do suggest me some good tutorial on using jQuery with Grails.

newest questions tagged jquery – Stack Overflow

About Admin