Lines Matching refs:target
19 var Autosuggest = function (target) { argument
183 var xy = DOM.getOffset(target);
185 node.style.top = xy.y+target.offsetHeight+'px';
199 controller.showOnlyMatchingOptions(target.value, options.match);
218 target.focus();
253 var tsp = DOM.getOffset(target)['y']-DOM.getBodyScrollTop()
255 ,bsp = ht - (DOM.getOffset(target)['y'] + target.offsetHeight-DOM.getBodyScrollTop())
257 ,ttop = DOM.getOffset(target)['y']
258 ,tbot = ttop + target.offsetHeight+'px'
268 ct.parentNode.style.top = DOM.getOffset(target)['y'] + target.offsetHeight+'px';
277 ct.parentNode.style.top = DOM.getOffset(target)['y'] + target.offsetHeight+'px';
296 el = e.target||e.srcElement;
316 if (target.value.length >= options.minlength) self.show()
318 controller.showOnlyMatchingOptions(target.value, options.match);
325 var el = e.target||e.srcElement;
334 target.value = node.firstChild.value;
339 target.focus();
389 if (isString(target)) target = document.getElementById(target);
390 target.attachEvent('onkeyup',keypress);
391 target.attachEvent('onkeypress',__preventKeyPress);
392 target.attachEvent('onkeydown',function (e) {
432 target.attachEvent('onmousedown', function () {interval = 1;});
433 target.attachEvent('onblur', function(){interval==1?self.hide():interval=2});
440 target.autocomplete = 'off';
441 target.setAttribute('autocomplete','off');