hi everyone ...how to do this in jscript ....

refreshing a page once,twice or so on every given time.. (refresh 1x/30 secs or 2x/40 secs)

to make it clear:

example i will input 100 on a textbox (so this is my given time) and i will set to refresh the page once,twice and so on in every given time(the 100 i have inputed) ... please help

uhmm this is my pseudo code:

x=Giventime(seconds)
y=how many times it will refresh
r=the result of x and y

if(x<=5)

x divided by Y

r= the result of x and y

refresh the page base on (r)

i dont know how to set up this on jscript ..please help help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.