Lines Matching refs:text

55         if (option.text !== "") {
63 text: option.text,
84 SelectParser.prototype.escapeExpression = function(text) {
86 if ((text == null) || text === false) {
89 if (!/[\&\<\>\"\'\`]/.test(text)) {
90 return text;
100 return text.replace(unsafe_chars, function(chr) {
148 this.allow_single_deselect = (this.options.allow_single_deselect != null) && (this.form_field.options[0] != null) && this.form_field.options[0].text === "" ? this.options.allow_single_deselect : false;
337 var escapedSearchText, option, regex, results, results_group, searchText, startpos, text, zregex, _i, _len, _ref;
370 text = option.search_text.substr(0, startpos + searchText.length) + '</em>' + option.search_text.substr(startpos + searchText.length);
371 option.search_text = text.substr(0, startpos) + '<em>' + text.substr(startpos);
607 this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="' + this.default_text + '" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>');
609 this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>' + this.default_text + '</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>');
1062 Chosen.prototype.single_set_selected_text = function(text) {
1063 if (text == null) {
1064 text = this.default_text;
1066 if (text === this.default_text) {
1072 return this.selected_item.find("span").html(text);
1107 return $('<div/>').text($.trim(this.search_field.val())).html();
1231 styles = ['font-size', 'font-style', 'font-weight', 'font-family', 'line-height', 'text-transform', 'letter-spacing'];
1239 div.text(this.search_field.val());