Lines Matching refs:val
56 this.value = this.$element.val() || this.$element.text();
71 setDefault: function (val) {
72 // var val = this.$menu.find('.active').data('value');
73 this.$element.data('active', val);
74 if (this.autoSelect || val) {
75 var newVal = this.updater(val);
82 .val(this.displayText(newVal) || newVal)
91 var val = this.$menu.find('.active').data('value');
93 this.$element.data('active', val);
94 if (this.autoSelect || val) {
95 var newVal = this.updater(val);
104 .val(this.displayText(newVal) || newVal)
109 if (this.followLinkOnSelect && this.itemLink(val)) {
111 window.open(this.itemLink(val), '_blank');
113 document.location = this.itemLink(val);
116 } else if (this.followLinkOnSelect && !this.itemLink(val)) {
192 this.query = this.$element.val();
358 if (text == self.$element.val()) {
402 this.$element.val(this.displayText(newVal) || newVal);
422 this.$element.val(this.displayText(newVal) || newVal);
548 var currentValue = this.$element.val() || this.$element.text();