Autocomplete.getTargets

Syntax

getTargets ();

Description

The getTargets method returns a Targets-type object: a collection of Target structures.

Comments

A Target structure includes a control which must be autocompleted, and autocomplete settings defined for this control.

Example

To execute the example, the page must contain the Autocomplete component named autocomplete (seep; Autocomplete constructor). The autocomplete system must include a control with the NE1 identifier . Disable suggestions for the component with the identifier NE1:

autocomplete.getTargets().NE1.Active = false

 

After executing the example autocomplete option is disabled for the control with the NE1 identifier.

See also:

Autocomplete