jquery form on success display message generate from server
<p>I have </p>

<pre><code>&lt;div id="infoMessage" class="infoMessage"&gt;&lt;?php echo $message;?&gt;&lt;/div&gt;
</code></pre>

<p>which the $message will generate from the server when POST.</p>

<p>How to I do if I wanted to display the infoMessage once the ajax success</p>

<pre><code> $.ajax({
   type: "POST",
   url: "the/form",
   data: $(\'.target\').serialize(),
   success: function() {
    alert("done");
    // how to show the infoMessage ?
    }
  });
</code></pre>
