button not going to another view when clicked in button in grails : Actaully i have this Cancel button and when i am pressing it, it is not going to required view page??whats the error??it is not showing any action.i dont want to change button to g:submitbutton because my css will change so i want to cancel this operation using button tag.i am using grails..................


mains.gsp

     <button type="button" onclick="${remoteFunction(action:'index', controller: 'organization')}"  class="cancelbtn">Cancel</button> 
    
