monster.ui.chosen()

Syntax

monster.ui.chosen($target[, options]);

Parameters

KeyDescriptionTypeDefaultRequired
$targetSelect element to invoke the chosen plugin on.jQuerytrue
optionsList of options for jQuery Chosen plugin.Objectfalse

Return value

jQuery Chosen widget instance.

Description

This helper will transform a field into a jQuery Chosen element.

Tag mode

When setting the tags option to true, you will be able to add new options to the select element by hitting enter if no results are selected from the list of existing ones.

On this page