Difference between revisions of "JavaScript"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 6: Line 6:
''Learn more:''
''Learn more:''
:* [http://www.amazon.com/exec/obidos/ASIN/0596517742 JavaScript: The Good Parts] (highly recommended)
:* [http://www.amazon.com/exec/obidos/ASIN/0596517742 JavaScript: The Good Parts] (highly recommended)
===Accessing Record Variables===
===Accessing Variables in Lookup Records===
   
   
==Where to Use JavaScript ==
==Using JavaScript in the Platform==
:*[[Field Scripting]] - Add JavaScript code to take actions on a [[Field]] (On Change or On Focus)
JavaScript can be used in a variety of ways
:*[[Form Scripting]] - Add JavaScript code to a Form (On Load or On Save)
{{:JavaScript Uses}}
:*[[Post Selection JavaScript]] -  Perform validations on Lookup Fields using JavaScript
 
==Reference Information==
:* [[JavaScript Functions and Variables]]
:* [[Global JavaScript Variables]]
:* [[Template Variables for Actions Using Execute JavaScript]]
:* [[AJAX and REST]]

Revision as of 18:26, 7 October 2011

This page provides general notes on using JavaScript in the platform.

About JavaScript

JavaScript is an object-oriented language that allows for functional programming. It is the language that drives much of the world wide web.

Learn more:


Accessing Record Variables

Accessing Variables in Lookup Records

Using JavaScript in the Platform

JavaScript can be used in a variety of ways

  • Field Scripting - Add JavaScript code to take actions on a Field (On Change or On Focus)
  • Form Scripting - Add JavaScript code to a Form (On Load or On Save)
  • Post Selection JavaScript - Perform validations on Lookup Fields using JavaScript
  • Action buttons - Add action buttons when displaying a record
  • In a JSP/HTML Page - Make things happen on the client side to reduce the load on the server.
  • Toaster Message - Add custom messages in toaster using JavaScript.

Reference Information