focus

sets focus to the radio button of the RadioGroup control by its id

void focus(string id);

Parameters

idstringoptional, the id of a radio button

Example

form.getItem("radiogroup").focus("radiobutton_1");

Details

If "id" is not specified, the method sets focus to the first radio button of the RadioGroup.

Change log

added in v7.0

Back to top