How to incorporate a g:link into an ordinary button?
问题 In my grails application there is a view with a a g:link tag - it works fine, but the visuals are kind of awkward. Therefore, I want to disguise that g:link with an ordinary button. I've tried a span class and input type="button" but this did not do the trick. Side note : I don't want a g:form with an submit action. Any help is really appreciated! 回答1: Amit Jain's answer worked but had some problems in ie 8 & 7 (looked like some kind of style overlapping error). This solution worked in all