JasonDBurke
Programmer
I'm writing an application in which log data is being displayed on the screen using (C#/ASP.NET). I'd like the user to beable to click on various radio buttons representing different time intervals to refresh the screen.
I've tried using the C# timer control but this isn't working so I'm moving over to JavaScript to handle this. Here is some pseudocode on what i'm attempting:
if(radioButton1.clicked)then
{
refreshpage = 5 seconds
}
else if(radioButton2.clicked)then
{
refreshpage = 10 seconds
}
else if(radioButton3.clicked)then
{
refreshpage = 30 seconds
}
Anyone know how to code this is Javascript?
Thanks,
Jason
I've tried using the C# timer control but this isn't working so I'm moving over to JavaScript to handle this. Here is some pseudocode on what i'm attempting:
if(radioButton1.clicked)then
{
refreshpage = 5 seconds
}
else if(radioButton2.clicked)then
{
refreshpage = 10 seconds
}
else if(radioButton3.clicked)then
{
refreshpage = 30 seconds
}
Anyone know how to code this is Javascript?
Thanks,
Jason