NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 16, 2017, 05:41:02 AM

Title: Refresh a page using a button?
Post by: Alberto on March 16, 2017, 05:41:02 AM
How can I refresh a page using a button?
Title: Re: Refresh a page using a button?
Post by: Bruce 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
Title: Re: Refresh a page using a button?
Post by: Rene Simons 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
Title: Re: Refresh a page using a button?
Post by: Bruce 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
Title: Re: Refresh a page using a button?
Post by: Rene Simons on May 29, 2017, 05:50:01 AM
Ok thx