NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Stu on February 16, 2014, 10:50:24 PM

Title: Calling p_web.Popup from <script> code
Post by: Stu on February 16, 2014, 10:50:24 PM
Hi Folks (and Bruce, who counts as the MASTER),

NT7 (latest). Clarion 9.0.10376.

Is it possible to call p_web.Popup() functionality from with some '<script>' code without adding any extra js files?

IE .. I have a big string that is a <script>, which is run at some stage.

In the 'success: function(data) {{ ' section of code, I'd like to call a popup window rather than the jGrowl I'm using at the moment.

Can I do this with Nettalk as is?
Title: Re: Calling p_web.Popup from <script> code
Post by: Stu on February 16, 2014, 11:30:05 PM
Nevermind! That'll learn me for not checking out netweb.clw first.

Code: [Select]
self.Script('ntAlert(''' & self.jsParm(self._utfjs(p_text)) & ''','''&self.translate('Alert')&''');',p_Send).