NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Refresh a page using a button?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Refresh a page using a button? (Read 4103 times)
Alberto
Hero Member
Posts: 1873
Refresh a page using a button?
«
on:
March 16, 2017, 05:41:02 AM »
How can I refresh a page using a button?
Logged
-----------
Regards
Alberto
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Refresh a page using a button?
«
Reply #1 on:
March 21, 2017, 03:04:06 AM »
define "refresh a page"?
As in re-load a page?
just use a button and set a URL to it.
Cheers
Bruce
Logged
Rene Simons
Hero Member
Posts: 650
Re: Refresh a page using a button?
«
Reply #2 on:
May 29, 2017, 01:16:16 AM »
Hi,
I would like the button to execute some code first and then refresh the page.
Is it possible to execute some code first, by using the "Send Value to Server" option, or are these functions mutually exclusive.
Cheers,
Rene
Logged
Rene Simons
NT14.14
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Refresh a page using a button?
«
Reply #3 on:
May 29, 2017, 05:37:24 AM »
They're mutually exclusive.
but the code on the server side could include JavaScript to send back to refresh the page.
p_web.Script('javascript goes here;')
Google that a bit and see if you figure out the right JavaScript...
cheers
Bruce
Logged
Rene Simons
Hero Member
Posts: 650
Re: Refresh a page using a button?
«
Reply #4 on:
May 29, 2017, 05:50:01 AM »
Ok thx
Logged
Rene Simons
NT14.14
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Refresh a page using a button?