After a bit of asking Dr Google I finally found an approach which worked
var conc = document.getElementsByName('qs_concentration')[0].value;
var pattern = document.getElementsByName('qs_pattern')[0].value;
${remoteFunction(
controller: 'management',
action: 'addStandard_ajax',
params: '\'conc=\' + escape(conc) + \'&pattern=\' + escape(pattern)',
update: 'registered_standards')}
now I just wish there would be an easier approach
Worked.. Thanks... :)
ReplyDelete