NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 16, 2017, 05:41:02 AM
-
How can I refresh a page using a button?
-
define "refresh a page"?
As in re-load a page?
just use a button and set a URL to it.
Cheers
Bruce
-
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
-
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
-
Ok thx