jQuery post div content and php echo
<p>I want to post the contents of a div via jQuery, redirect to php file, and then echo the div contents on the php file.  </p>

<p>html</p>

<pre><code>&lt;div id="edit_content"&gt;
&lt;p&gt;This is a test&lt;/p&gt;    
&lt;/div&gt;
&lt;a href="processingscript.php" id="submit_script"&gt;Submit&lt;/a&gt;
</code></pre>

<p>jquery  </p>

<pre><code>$('#submit_script').click(function(){
$.post('/processingscript.php', {'html': $('#edit_content').html()};
});
</code></pre>

<p>php</p>

<pre><code>$content = $_POST['html'];
echo $content;
</code></pre>

<p>So far, I get a blank echo on the php file.  Should i be using $().redirect()?</p>
