NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: webwilcox on June 27, 2014, 10:50:09 AM

Title: Popup message when a user presses a button in a browse
Post by: webwilcox on June 27, 2014, 10:50:09 AM
I have a browse with a button in it.  When the button is pressed, it runs some server side code and it is working great.  I'd like to have a popup message in the browser after the server code is done just saying something like "Success".  Just wanting to give the user some feedback that something happened.  I've looked at p_web.message() but not real sure what that can be used.

Thanks,

Brad Wilcox
Title: Re: Popup message when a user presses a button in a browse
Post by: terryd on June 28, 2014, 07:53:41 AM
HI
I think you can use something like this
p_web.Script('alert("Success");')
Title: Re: Popup message when a user presses a button in a browse
Post by: Bruce on June 29, 2014, 10:09:26 PM
better yet;

p_web.Script('ntAlert("Success");')

Cheers
Bruce