Posts by user138729 • 26 points
1 post
-
1
votes1
answer119
viewsA: How to clear div when input is empty with jquery-json autocomplete?
You could simply add a check to the value of the string. If it does not exist, that is !searchField, utilize return to return a (null) value and not execute the rest of the code.…