jQuery show element one time on multiple clicks
<p>The link below calls the DeleteUser function and displays the message below. When the link is clicked again, the message repeats, and continues to do so each time the link is clicked. Is there a way to stop this behavior? I have tried to hide the link after it is clicked once, but the element remains, so when another link that shares this message box is clicked, the first message is still displayed.</p>

<pre><code>&lt;a href="#" onclick="DeleteUser('{id}','{deleting}')"&gt;Delete User&lt;/a&gt;

function DeleteUser(id, deleting){

var message = "&lt;h1&gt;Are you sure? All records associated with this user will be deleted also.&lt;/h1&gt;";

$('#managermsg').append(message);
$('#managermsg').fadeIn(500);
$("#usermanager").slideToggle("slow");
};
</code></pre>
