ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

JSFormJavaScript

Object for work with javascript in the form.

Object properties 

Name Description
void Add(string key, string script) Function adds a script block into a page. The script itself does not have go be wrapped in tags <script>.
void AddStartScript(string key, string script) Function adds a script block into a page, that is executed after loading page in the client. The script itself does not have go be wrapped in tags <script>.
void AddUrl(string url) Function adds a link into a page to an external file with javascript.

Use the function Add, if you want to add javascript into a page with form, that is changed based on various conditions or you do not want to create a special file for it.

Use the function AddUrl, if you have javascript, that does not change or you want to use it on more pages.

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information