C
Chris Leffer
Hi.
My application fills a repeater with some data and at one column it
generates a clock for each row. This clock is based on a value that I
read from my database on each row like below:
Start Time
50:00 49:10
70:00 69:30
These clocks are countdown clocks and they are on readonly textboxes.
Today, I have a bunch of Javascript to do this. It works, but on each
page refresh I loop through the rows searching for the textboxes and
running a piece of code on the onblur event of these textboxes to start
the clocks. It causes a long scroll of the window.
Is there a better way to do it? I need to optimize this window but can't
think of a better way.
Regards,
Chris Leffer
My application fills a repeater with some data and at one column it
generates a clock for each row. This clock is based on a value that I
read from my database on each row like below:
Start Time
50:00 49:10
70:00 69:30
These clocks are countdown clocks and they are on readonly textboxes.
Today, I have a bunch of Javascript to do this. It works, but on each
page refresh I loop through the rows searching for the textboxes and
running a piece of code on the onblur event of these textboxes to start
the clocks. It causes a long scroll of the window.
Is there a better way to do it? I need to optimize this window but can't
think of a better way.
Regards,
Chris Leffer