I am using jQuery autocomplete and am running into an issue where it is not detecting it is empty.
$("#autocomplete").on("autocompleteopen", f