NetTalk Central

Author Topic: How to post a message to user from a browse page?  (Read 2681 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
How to post a message to user from a browse page?
« on: March 26, 2013, 05:32:14 PM »
I have a browse page with "other" button as a colon in a browse. When user push the button I have to check if action is possible and if it is not possible to notify user and return to browse. If action is possible I have some job to done and return to the browse with refresh option.

Normally in desktop application it is peace of cake but here I am out of the game. I tried with jQuery but obviously my knowledge of http and jQuery is poor and nothing happened as I expected. I only achieve that if all is good to done job properly but this was easy task.

Please help.

Djordje Radovanovic


Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: How to post a message to user from a browse page?
« Reply #1 on: March 27, 2013, 03:28:13 AM »
anyone?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: How to post a message to user from a browse page?
« Reply #2 on: March 27, 2013, 03:59:01 AM »
make sure button is of Type Button.
Then in server side code put something like;

  If Random(1,20) < 10
    p_web.popup('Hello Bruce, That''s not cool')
    do Value::Other23
  Else
    ! do something 
    Loc:Eip = 0
    do CallBrowse
  End



Where Other23 is the name of the button.