Object Functions
Data Types in AJAX Toolkit
source Context Variable
Debugging with the AJAX Toolkit
SOAP (AJAX) API End-of-Life Policy
SOAP Header Options with the AJAX Toolkit
Error Handling with the AJAX Toolkit
Previous Versions
Property values can be accessed directly or by using a generic set or get method.
get function for each field in the object. For example, an Account object has a get("Name") function. This can be used instead of object.Field (for example, account.Name).set function for each field in the object. For example, an Account object has a set("Name) function. This can be used instead of object.Field = value.For example, you can get the value of the Name field from an Account using either of these methods:
account.get("Name")account.Nameaccount["Name"]You can set the value of the Name field from an Account using either of these methods:
account.set("Name", "MyAccount");account.Name = "MyAccount";account["Name"]="MyAccount";See Also