Lines Matching defs:value

129     function indexOf(value, array) {
132 if (equal(value, array[i])) return i;
167 * Splits the string into an array of values, trimming each value. An empty array is returned for nulls or empty
185 var key="keyup-change-value";
248 value;
250 if (evaluated === false) { value = formula(); evaluated = true; }
251 return value;
304 sel.moveStart('character', -el.value.length);
479 * value of 'text' which will be used to match choices. Alternatively, text can be a function(item) that can extract
568 throw new Error(formatterName +" must be a string, function, or falsy value");
600 * @return undefined/null to leave the current input unchanged, or a string to change the input to the returned value
785 // initialize selection based on the current value of the source element
788 // if the user has provided a function that can set selection based on the value of the source element
845 id:element.prop("value"),
1411 * Opens control, sets input value, and updates results.
1931 // initializes search's value with nextSearchTerm (if defined by user)
2198 * Sets selection based on source element's value
2238 // a single select box always has a value, no need to null check 'selected'
2447 data: function(value) {
2459 if (!value) {
2463 this.opts.element.val(!value ? "" : this.id(value));
2464 this.updateSelection(value);
2466 this.triggerChange({added: value, removed:data});
2814 // initializes search's value with nextSearchTerm (if defined by user)
2887 // keep track of the search's value before it gets cleared
2907 // initializes search's value with nextSearchTerm and update search result
3259 method, value, multiple,
3285 value = undefined;
3292 value = select2.container;
3294 value = select2.dropdown;
3298 value = select2[method].apply(select2, args.slice(1));
3302 return false; // abort the iteration, ready to return first matched value
3308 return (value === undefined) ? this : value;