Jquery autocomplete

dear All

i have a  ajax autocomplete my problem is that
upon clicking on any letter system is retriebing data and ui-autocomplete-loading style will be shown
no i need to remove everything from the text box i realize that loading image is still showing
what is the event catched when clearing the testbox so that i can hide loading image.
thank you
pamela rizkDeveloperAsked:
Who is Participating?
 
Ares KurkluConnect With a Mentor Software EngineerCommented:
If you want to know how you can have an input textbox empty event fired then you can use this

<input type="text" id="mybox">

$("#mybox").keyup(function() {
    if (!this.value) {
       //textbox is empty
    }
});
0
 
pamela rizkDeveloperAuthor Commented:
ok solved thank you
0
 
pamela rizkDeveloperAuthor Commented:
tahnk you solved
0
 
Ares KurkluSoftware EngineerCommented:
no problem
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.