Tag: grails controller

使用ajax创建Grail Jquery模式窗口和表单发布?

我有以下代码: Enter your Comment Please Create new user 和我的模态窗口使用jquery-UI $(function(){ $(“#dialog-form”).dialog ({ autoOpen:false, height:300, resizable:false, width:350, modal:true, buttons: { “Attach Comment”: function() { alert(‘assum it already submitted’); // ? ? ? this time what can i add to post a form to a controller attachComments with commentArea posted. $(this).dialog(“close”); }, Cancel: function() { $(this).dialog(“close”); } […]