Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个取消按钮。如何绕过 Jquery 验证?
<g:actionSubmit value="Cancel" action="create"/>
根据 jquery 文档,如果您不希望按钮触发验证,只需添加一个名为 cancel 的类。所以,它是 <g:actionSubmit value="Cancel" class="cancel"/>