A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/api/combo/combo_getwidget_method/ below:

Website Navigation


JavaScript Form - getWidget Combo Box Method

It is possible to use methods of DHTMLX ComboBox via the getWidget() method of a Combo control.

For example, you can set focus in the Combo input without opening a popup with options. To do this, you need to get the widget attached to the Combo control and then use the focus() method of this widget.

const combo = form.getItem("combo_id").getWidget();  // -> ComboBox
combo.focus(); // sets focus in the input

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4