How do I pass parameter to controller action from jquery code in Grails using below code -



How do I pass parameter to controller action from jquery code in Grails using below code -

i have below code sample. want pass parameter when making ajax phone call controller using below code.

$('#testitemscat1').click(function() { $('#adthumbnails').load(this.href); homecoming false; });

i know can utilize jquery, can accomplish using above code base?

try this,

$('#testitemscat1').click(function() { $('#adthumbnails').load(this.href, { myname: lukupname}, function(){ // load success code }); homecoming false; });

jquery grails gsp

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -