title: jQuery jqGrid Show message when an edit row is complete
body: <p>I am following this tutorial here <a href="http://www.trirand.com/blog/jqgrid/jqgrid.html" rel="nofollow">http://www.trirand.com/blog/jqgrid/jqgrid.html</a> in
  LiveDataManipulation->EditRow</p>
  
  <p>My grid receive data from script <code>a.php</code>. After the user can modify this data by the jqGrid.
  jqGrid after the modification data will send data to script <code>B.php</code> that update my database and return a message of response like "all goes well".<br />
  I want that this response is alerted or showed to user somewhere on the page.<br />
  Reading the tutorial and here <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing" rel="nofollow">http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing</a> I think that I've to use <code>afterSubmit</code> option, but I haven't understood how print on the edit panel the result.</p>
  
  <p>I have written:</p>
  
  <pre><code>$("#editImpresa").click(function(){
  var gr = jQuery("#tabImprese").jqGrid('getGridParam','selrow');
  if( gr != null ) jQuery("#tabImprese").jqGrid('editGridRow',gr,{
      height:690,
      width:500,
      closeAfterEdit : true,
      reloadAfterSubmit:false,
      afterSubmit: function(response,postdata){ 
         if(response.responseText=="ok")
              success=true;
          else success = false;
  
          return [success,response.responseText] 
      }
  });
  </code></pre>
  
  <p>How can I do it?
  Thanks.</p>