Displaying 1 result from an estimated 1 matches for "ontriggerclick".
2007 Jan 17
0
Triggering Autocompleter by button
...plete = this.onComplete.bind(this);
this.options.defaultParams = this.options.parameters || null;
this.url = url;
this.cache = {};
if(this.options.trigger) {
Event.observe($(this.options.trigger), "click",
this.onTriggerClick.bindAsEventListener(this));
};
},
onTriggerClick: function() {
this.element.value = "%";
this.getUpdatedChoices();
},
});
------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this m...