JQuery UI Autocomplete textbox event problem with checkbox
Hi,
I had a situation to display a floating group of checkbox's below the autocomplete as a footer. When i click any check box in the footer, the autocomplete values will be filtered based on the checkbox value. I did it, I show/hide the footer by calculating the autocomplete height using JQuery. Its working pretty well. But problem with the functionality is, after typing some text in textbox when i click any checkbox in the footer first time its not firing its change event. It is firing the autocomplete close event that time. Checkbox change event firing when i click it second time. This is the issue i am having now. Please suggest some ideas.. Thank u in advance.
Try the below steps to recreate the issue that i am having.
1. Just type a word "
j" in the textbox.
2. Autocomplete will be displayed.
3. Don't select anythink in the autocomplete, just click the checkbox
4. The checkbox event won't fire on the first click. Insted of that the autocomplete close event will fire. When you click the checkbox second time the checkbox event will fire. That's the issue i am having, i need to execute the checkbox event on first click.