Current News

Moderator: Mmiscool

User avatar
By Mmiscool
#48297 Yes. It would probably be benificial to grab the latest build.
User avatar
By russm
#48298 I pasted your code in and it didn't refresh. Here is something I tried and it didn't work either. I don't want to pull you away from fixes if this is just something stupid I messed up...
Code: Select allmemclear

timesetup(-4,0)
delay 5000

x = 0
mytime = time()

cls

'onload [dosomething]
'wprint "<meta http-equiv='refresh' content='5;URL=/input?'>"
timer 5000, [dosomething]
button "Exit ", [Exit]
 wprint "<br>"
 wprint htmlvar(x)
 wprint "<br>"
 wprint htmlvar(mytime)
 wprint "<br>"
wait

[dosomething]
 mytime = time()
 x = x + 1
wait

 
[Exit]
wprint "<br>"
wprint "<br>"
wprint "<a href='/'>Menu</a>"
end




User avatar
By Mmiscool
#48300 Noticed you were using the htmlvar() function. Your page will not update until it is refreshed.