Can some one help me on clearing the Autocomplete Input box. The scenario is as below
Thanks
Suresh A
- When a user types some char in the autocomplete textbox, drop down will be visible with the values.
-
If the user doesnt select any from the dropdown list and moves out of the control then i want to clear the text box as well as the drop down should not be visible. The below is the code
$().SPServices.SPAutocomplete({
sourceList: "List1",
sourceColumn: "ListItemName",
columnName: "txtListItem",
ignoreCase: true,
numChars: 2,
slideDownSpeed: 1,
debug: false
});
});
It will be great if some one can guide me on how we can achieve the same.Thanks
Suresh A