ADMIN_Javascript_GetDropdownSetContentsScript

Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Scalar function

Use this function in a 'javascript.aspx' menu item to generate a javascript that sets the value of a dropdown control from a popup window.

NOTE: All other options in the dropdown will be removed.

Return value: ntext

Javascript that performs the required operations.

Parameters

@ID mandatory ntext
ID for the option in the dropdown control.
@Text mandatory ntext
Displayed text for the option in the dropdown control.