NetTalk Central

Author Topic: Java Script how to implement in NTWS  (Read 2721 times)

johanl

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Java Script how to implement in NTWS
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Java Script how to implement in NTWS
« Reply #1 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

johanl

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Re: Java Script how to implement in NTWS
« Reply #2 on: September 19, 2012, 06:32:42 AM »
Thanks Bruce

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

Johan