NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanco123 on March 07, 2017, 05:22:56 AM
-
Hi Bruce
I have a memory form with a browse on. I want to display a certain alert message when click on a browse row.
I add some code with a certain condition in 'the user click on a row in the browse' embed point and then call 'do SendMessage' routine:
loc:alert = 'SendMessage now whatever...'
but now alert message display.
I even try in code rather than calling do SendMessage :
loc:alert = 'SendMessage now whatever...'
p_web.Message('Alert',loc:alert,p_web.site.MessageClass,Net:Send,true)
No message display.
Any help or suggestions will be appreciated.
Regards
Johan
NT9.20
cl8
-
Hallo Johan,
Try this:
p_web.Script('alert(''This is a info message!'',''Info'');')
Robert
-
Hallo Robert
Tanks for your suggestion. I also try
p_web.Script('ntAlert("This is a info message!","Info");')
but still no message display when I click on the browse row..
Johan
-
I test on my browse with the code I sent you and works perfect.
Can you test on another browse? Also check on source to see maybe you have another script there that broke this one...there must be something wrong there :-)
Robert
-
Tanks Robert.
Problem solved. It was another script causing the problem.
Johan