how to do a repeated replace or update in jquery
<p>I've got a page that displays something like this:</p>

<p>"Who's turn is it?
Jake"</p>

<p>Where "Jake" is populated with a jquery statement after an ajax query. something like:</p>

<pre><code>$('#whosturnisit').append(result);
</code></pre>

<p>The problem is of course that it just adds the result each time it runs.</p>

<p>I've tried using .hide() and then doing .append(), but without good results.</p>

<p>I've also tried using </p>

<pre><code>$('#whosturnisit').replaceWith(result);
</code></pre>

<p>But again, it does not seem to work correctly.</p>

<p>My desired result here is that this ajax query runs every X seconds, lets just say 30 seconds, and grabs the name of whoever's turn it is, and displays that name.</p>
