jQuery replace with
<p>I have the following html tag:</p>

<pre><code>&lt;a class="save action_btn" onclick="return false;"&gt;Save&lt;/a&gt;
</code></pre>

<p>and the code:</p>

<pre><code>$(".save").live('click', function() {
                            $.post("update.php", {uid: my_uid, save: "yes", mid: "&lt;?php echo $mid; ?&gt;"}, function(){
                                    $(this).replaceWith('&lt;a class="action_btn x saved" onclick="return false;"&gt;Saved&lt;/a&gt;');
                                }
                            );
                 });
</code></pre>

<p>However, why is it not changing the html tag?</p>
