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
Post a Comment