I'm making calls from managed code to javascript, and would like to display time (passed from managed code),
I've got a function such as:
function sometimefunction(sometime) {
$(document).ready(function() {
$('#currenttime').before($('<div class="timeupdate"></div>').html('<h3>Last update: ' + sometime+ '</h3')).remove();
})
}
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)