How can I show the time on my website? (I want the label to be updated every second).
I tried using an AJAX update panel with the label inside, but I must be doing something wrong b/c it's just not updating!!!
Please help!!! it's urgent!!
Thanks alot

Rakrus106 reputationPosted Dec 14, 2007, 12:37 AM EST
Hi,
onbodyload write this
function BodyLoad(){
window.setInterval(
function(){
dt=
new Date();document.all[
"Label1"].innerText=dt;}, 1000);
}
Thanks
Rakesh
Kumar Duvvarapu37 reputationPosted Dec 14, 2007, 12:44 AM EST
Hi,
You have to use javascript to display the time in your website,
thanks and regards,
kumar
kaila14 reputationPosted Dec 18, 2007, 5:11 AM EST
thanks!
what is the point of the ajax update panel anyways?
Rakrus106 reputationPosted Dec 19, 2007, 8:06 PM EST
Hi Kaila,
The usage will depends on the contex,in think case you don't need to go for ajax pannel