forms - How to submit formRemote programatically in grails? -



forms - How to submit formRemote programatically in grails? -

following formremote.

<g:formremote id="searchform" name="searchform" url="[controller:'search', action:'show']" update="searchresultscontent"> <input type="text" name="keyword" value="${searchinput}"> <g:submitbutton name="searchbutton" value="search"/>

i have tried using submit method submit form programatically e.g.

document.searchform.submit();

there no error, results not same if submit button have been pressed. need mention controller , action somewhere call?

forms grails submit

Comments