Box
Map
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery SelectBox - buttons

Allows you to add custom buttons to the input text field.

Type:

Array<String | Object>

Default Value: undefined
Accepted Values: 'clear' | 'dropDown'

Built-in buttons should also be declared in this array. You can find an example in the following demo:

View Demo

location

Specifies whether to place the button before or after the input text field.

Type:

String

Default Value: 'after'
Accepted Values: 'after' | 'before'

NOTE
This property does not work for built-in buttons.

name

Specifies the button's name.

Type:

String

Default Value: undefined

See Also

options

Configures the Button UI component used as the action button.

Default Value: undefined

NOTE
This property does not work for built-in buttons.

View Demo