Reputation: 1624
I can send one param to the controller using the following in javascript:
<g:javascript>
var sel = "test";
<g:remoteFunction action="newExisting" method="GET" update="updateThis" params="'sel='+sel"/>
</g:javascript>
I cant figure out the syntax to add a second param
Upvotes: 0
Views: 301
Reputation: 685
Another Way to pass multipale values like
params="[sel1: sel1,sel2:sel2]"
Upvotes: 2
Reputation: 17906
you could pass clientside variables like :
params='\'param1=\'+sel+\'&booleanParam2=true\''
Upvotes: 3