I\'m trying to pass a couple of parameters to a remoteFunction in grails but I\'m struggling to format it correctly
I want to pass in the value of a piece of data on
You can actually still use the remote function tag, you just have to write the parameters in a javascript object string, so this actually works quite well in stuff that I work with.
var denomValue = document.getElementById(denomValue+${it.id}).value;
onblur=${remoteFunction(
action:'dave',
update:'pack'+it.id,
params: '{denom: denomValue, amount: this.value}'
)}