NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanl on September 19, 2012, 05:52:21 AM

Title: Java Script how to implement in NTWS
Post by: johanl on September 19, 2012, 05:52:21 AM
Hello

I want to start using java script in NTWS but i am not sure where an how to impment it, is the script applicable to the whole page or can it be to a specific field

Any help will be appreciated

Regards
Johan
Title: Re: Java Script how to implement in NTWS
Post by: Bruce on September 19, 2012, 06:17:59 AM
Hi Johan,

You can include .js files in the WebServer procedure, Scripts, Files tab.

You can include specific JavaScript code on a page using the p_web.Script method.

More than that depends on what you want to do, and in what context (ie which procedure type etc.)

cheers
Bruce
Title: Re: Java Script how to implement in NTWS
Post by: johanl on September 19, 2012, 06:32:42 AM
Thanks Bruce

Another question how do I then 'execute' or run that script?

Johan