jquery to replace and update content
<p>I'm making calls from managed code to javascript, and would like to display time (passed from managed code), </p>

<p>I've got a function such as:</p>

<pre><code>function sometimefunction(sometime) {

    $(document).ready(function() {
        $('#currenttime').before($('&lt;div class="timeupdate"&gt;&lt;/div&gt;').html('&lt;h3&gt;Last update: ' + sometime+ '&lt;/h3')).remove();          
    })
}
</code></pre>

<p>Now, this replaces the time, but only on the first call..what I would like to happen is to replace time everytime this function is called...(btw. it's a timer, every second from managed code)</p>
