Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/s-a/watch-input

watch an input textbox for changes. usefull to provide auto-suggest things of the web
https://github.com/s-a/watch-input

Last synced: about 5 hours ago
JSON representation

watch an input textbox for changes. usefull to provide auto-suggest things of the web

Awesome Lists containing this project

README

        

```js
$("#search").watchInput({
delay : 700,
input : function(/*newValue*/){
// user is entering some data...
},
inputDone : function(newValue/*, oldValue*/){
// user finished entering data
var ref = firebase.database().ref("actors-search-index");
$("#spinner").show();
search(ref, newValue, function(){
$("#spinner").fadeOut("fast");
});
}
});
```