NetTalk Central

Author Topic: Popup message when a user presses a button in a browse  (Read 3568 times)

webwilcox

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • Email
Popup message when a user presses a button in a browse
« 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

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Popup message when a user presses a button in a browse
« Reply #1 on: June 28, 2014, 07:53:41 AM »
HI
I think you can use something like this
p_web.Script('alert("Success");')
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Popup message when a user presses a button in a browse
« Reply #2 on: June 29, 2014, 10:09:26 PM »
better yet;

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

Cheers
Bruce