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/form_setvalue_method/ below:

JavaScript Form - setValue Method

form.setValue({"input_name":"Jack London", "slider_id":10});

Related sample: Form. Set value

The object should contain a set of key:value pairs where key is either the name of the control or the control's id (if the name attribute is not defined in the config of the control) and value is a new value/state of the control.

note

If both the name and id of the control are specified in the config of Control, then you need to set the name of the control as key.

Depending on the type of a control, the method may take different types of parameters:


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