, 10:40 pm, Joel D'Souza joeldso...@gmail.com wrote:
I have the blur event hooked in to reset hidden field values. The
autocomplete plugin is set up as below and produces the behavior
described in the comments:
$(#test).autocomplete(data, {
formatItem: function(item) {
return item.text
I intend to use the blur function when a selection is not made to
clear some hidden field values.
And the result function to set/update those hidden fields when a
selection is made.
With the mouse selection, as both blur and result are triggered
simultaneously, a race condition occurs. This
I have the blur event hooked in to reset hidden field values. The
autocomplete plugin is set up as below and produces the behavior
described in the comments:
$(#test).autocomplete(data, {
formatItem: function(item) {
return item.text;
}
}).result(function(event, item) {
// This
3 matches
Mail list logo