Visual InterDev

id Property (Script Object Model)

See Also            Applies To

Specifies a unique identifier of a script object. Read-only at run time.

Syntax

[strID =] object.id

Parameters

strID

A character string that identifies the object. Must be unique to the page. The string must begin with an alphabetic character followed by alphanumeric characters. For example, CheckboxStock and c24546 are acceptable while 4CheckBox is not supported.

object

A script object.

Remarks

The value of the id property is the name of the object that you write script against. Also, this value is the ID attribute that is assigned to the HTML tag that is sent to the browser.

When the object is created by a design-time control, both the id and name script object properties are set by the design-time control's id property. Therefore, the script object name and id properties typically have an identical value.

When editing design-time controls: